diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2020-12-06 22:18:48 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2020-12-06 22:18:48 -0500 |
commit | 300c581370073fbaad025465edc39bcbfe5e7c81 (patch) | |
tree | 297a24d9ddf09c4934f3484403b122879e997e2a /lisp/progmodes/inf-lisp.el | |
parent | c13b4fa61e7ae9ce5baa05496243f632f26bcd9a (diff) | |
download | emacs-300c581370073fbaad025465edc39bcbfe5e7c81.tar.gz emacs-300c581370073fbaad025465edc39bcbfe5e7c81.tar.bz2 emacs-300c581370073fbaad025465edc39bcbfe5e7c81.zip |
* lisp/emacs-lisp/lisp-mode.el: Give paren syntax to [...] in lisp-data-mode
(lisp-data-mode-syntax-table): Rename from lisp--mode-syntax-table.
Adjust all users. Set [...] to have paren syntax.
(lisp-data-mode): Don't set `lisp-syntax` arg any more
* lisp/progmodes/elisp-mode.el (emacs-lisp-mode-syntax-table):
Don't bother setting [...] to have paren syntax any more.
* lisp/progmodes/inf-lisp.el (inferior-lisp-mode): Don't use
`lisp-syntax` arg of lisp-mode-variables any more.
Diffstat (limited to 'lisp/progmodes/inf-lisp.el')
-rw-r--r-- | lisp/progmodes/inf-lisp.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/progmodes/inf-lisp.el b/lisp/progmodes/inf-lisp.el index 59db646ff32..93d5d0fbcc2 100644 --- a/lisp/progmodes/inf-lisp.el +++ b/lisp/progmodes/inf-lisp.el @@ -124,9 +124,9 @@ mode. Default is whitespace followed by 0 or 1 single-letter colon-keyword (define-key lisp-mode-map "\C-c\C-v" 'lisp-show-variable-documentation) -;;; This function exists for backwards compatibility. -;;; Previous versions of this package bound commands to C-c <letter> -;;; bindings, which is not allowed by the Emacs standard. +;; This function exists for backwards compatibility. +;; Previous versions of this package bound commands to C-c <letter> +;; bindings, which is not allowed by the Emacs standard. ;;; "This function binds many inferior-lisp commands to C-c <letter> bindings, ;;;where they are more accessible. C-c <letter> bindings are reserved for the @@ -274,7 +274,8 @@ If you accidentally suspend your process, use \\[comint-continue-subjob] to continue it." (setq comint-prompt-regexp inferior-lisp-prompt) (setq mode-line-process '(":%s")) - (lisp-mode-variables t) + (lisp-mode-variables) + (set-syntax-table lisp-mode-syntax-table) (setq comint-get-old-input (function lisp-get-old-input)) (setq comint-input-filter (function lisp-input-filter))) |