Rename lisp--prettify-symbols-alist
* lisp/emacs-lisp/lisp-mode.el (lisp-prettify-symbols-alist): Rename from `lisp--prettify-symbols-alist' since we're going to use it in Scheme mode, too. (lisp-mode-variables): Use it.
This commit is contained in:
parent
d692562377
commit
aeac603715
1 changed files with 3 additions and 4 deletions
|
@ -168,6 +168,8 @@
|
|||
(defvar lisp-doc-string-elt-property 'doc-string-elt
|
||||
"The symbol property that holds the docstring position info.")
|
||||
|
||||
(defconst lisp-prettify-symbols-alist '(("lambda" . ?λ))
|
||||
"Alist of symbol/\"pretty\" characters to be displayed.")
|
||||
|
||||
;;;; Font-lock support.
|
||||
|
||||
|
@ -594,7 +596,7 @@ font-lock keywords will not be case sensitive."
|
|||
(font-lock-extra-managed-props help-echo)
|
||||
(font-lock-syntactic-face-function
|
||||
. lisp-font-lock-syntactic-face-function)))
|
||||
(setq-local prettify-symbols-alist lisp--prettify-symbols-alist)
|
||||
(setq-local prettify-symbols-alist lisp-prettify-symbols-alist)
|
||||
(setq-local electric-pair-skip-whitespace 'chomp)
|
||||
(setq-local electric-pair-open-newline-between-pairs nil))
|
||||
|
||||
|
@ -655,9 +657,6 @@ font-lock keywords will not be case sensitive."
|
|||
:type 'hook
|
||||
:group 'lisp)
|
||||
|
||||
(defconst lisp--prettify-symbols-alist
|
||||
'(("lambda" . ?λ)))
|
||||
|
||||
;;; Generic Lisp mode.
|
||||
|
||||
(defvar lisp-mode-map
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue