emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/bnf-mode 27e45bd 31/36: Cleaned up syntax table


From: Stefan Monnier
Subject: [elpa] externals/bnf-mode 27e45bd 31/36: Cleaned up syntax table
Date: Wed, 17 Mar 2021 18:40:19 -0400 (EDT)

branch: externals/bnf-mode
commit 27e45bd4a3928620a4973fa6535280ed5b725dec
Author: Serghei Iakovlev <egrep@protonmail.ch>
Commit: Serghei Iakovlev <egrep@protonmail.ch>

    Cleaned up syntax table
    
    Do not propertize "^m" as "> b".  No longer needed.
---
 bnf-mode.el | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/bnf-mode.el b/bnf-mode.el
index 6b54128..1e65905 100644
--- a/bnf-mode.el
+++ b/bnf-mode.el
@@ -140,10 +140,6 @@ See `rx' documentation for more information about REGEXPS 
param."
 
 (defvar bnf-mode-syntax-table
   (let ((table (make-syntax-table)))
-    ;; Give CR the same syntax as newline
-    ;; FIXME: Why?
-    (modify-syntax-entry ?\^m "> b" table)
-
     ;; FIXME: "_" doesn't mean "symbol" but "symbol constituent".
     ;; I.e. the settings below mean that Emacs will consider "a:b=(c" as one
     ;; symbol (aka "identifier") which can be seen if you try to C-M-f and



reply via email to

[Prev in Thread] Current Thread [Next in Thread]