All core modes that weren't interested overwrite it anyway for
emacs-lisp. And third party usage of this functions (in SLIME/SLY)
wants the lisp-mode-syntax-table anyway.
* lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables): Use
lisp-mode-syntax-table by default.
(defun lisp-mode-variables (&rest ignored)
"Common initialization routine for lisp modes.
Any number of parameters is accepted and ignored."
+ (set-syntax-table lisp-mode-syntax-table)
(setq-local paragraph-ignore-fill-prefix t)
(setq-local fill-paragraph-function 'lisp-fill-paragraph)
(setq-local adaptive-fill-function #'lisp-adaptive-fill)
"Major mode for buffers holding data written in Lisp syntax."
:group 'lisp
(lisp-mode-variables)
- (set-syntax-table lisp-mode-syntax-table)
(setq-local electric-quote-string t)
(setq imenu-case-fold-search nil))
to continue it."
(setq comint-prompt-regexp inferior-lisp-prompt)
(setq mode-line-process '(":%s"))
- (set-syntax-table lisp-mode-syntax-table)
(lisp-mode-variables)
(setq comint-get-old-input (function lisp-get-old-input))
(setq comint-input-filter (function lisp-input-filter)))