(emacs-lisp-mode-syntax-table): Fix bug#24542
* lisp/progmodes/elisp-mode.el (emacs-lisp-mode-syntax-table): Remove `p` from the flags of `@`.
This commit is contained in:
parent
5bd4d45867
commit
648b7bf7e2
1 changed files with 4 additions and 3 deletions
|
@ -40,9 +40,10 @@ It has `lisp-mode-abbrev-table' as its parent."
|
|||
|
||||
(defvar emacs-lisp-mode-syntax-table
|
||||
(let ((table (make-syntax-table lisp-data-mode-syntax-table)))
|
||||
;; These are redundant, now.
|
||||
;;(modify-syntax-entry ?\[ "(] " table)
|
||||
;;(modify-syntax-entry ?\] ")[ " table)
|
||||
;; Remove the "p" flag from the entry of `@' because we use instead
|
||||
;; `syntax-propertize' to take care of `,@', which is more precise.
|
||||
;; FIXME: We should maybe do the same in other Lisp modes? (bug#24542)
|
||||
(modify-syntax-entry ?@ "_" table)
|
||||
table)
|
||||
"Syntax table used in `emacs-lisp-mode'.")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue