diff options
| author | Lars Ingebrigtsen | 2016-02-23 19:46:02 +1100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-02-23 19:46:02 +1100 |
| commit | aeac60371585c4bd9a809b04591448597491fece (patch) | |
| tree | 1af1e44ea1c05681e5ce76529705b54bccc0785f | |
| parent | d6925623770117f0e5e6eab0076b8760af289b43 (diff) | |
| download | emacs-aeac60371585c4bd9a809b04591448597491fece.tar.gz emacs-aeac60371585c4bd9a809b04591448597491fece.zip | |
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.
| -rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index cb8abde52ed..8d57c193f4e 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el | |||
| @@ -168,6 +168,8 @@ | |||
| 168 | (defvar lisp-doc-string-elt-property 'doc-string-elt | 168 | (defvar lisp-doc-string-elt-property 'doc-string-elt |
| 169 | "The symbol property that holds the docstring position info.") | 169 | "The symbol property that holds the docstring position info.") |
| 170 | 170 | ||
| 171 | (defconst lisp-prettify-symbols-alist '(("lambda" . ?λ)) | ||
| 172 | "Alist of symbol/\"pretty\" characters to be displayed.") | ||
| 171 | 173 | ||
| 172 | ;;;; Font-lock support. | 174 | ;;;; Font-lock support. |
| 173 | 175 | ||
| @@ -594,7 +596,7 @@ font-lock keywords will not be case sensitive." | |||
| 594 | (font-lock-extra-managed-props help-echo) | 596 | (font-lock-extra-managed-props help-echo) |
| 595 | (font-lock-syntactic-face-function | 597 | (font-lock-syntactic-face-function |
| 596 | . lisp-font-lock-syntactic-face-function))) | 598 | . lisp-font-lock-syntactic-face-function))) |
| 597 | (setq-local prettify-symbols-alist lisp--prettify-symbols-alist) | 599 | (setq-local prettify-symbols-alist lisp-prettify-symbols-alist) |
| 598 | (setq-local electric-pair-skip-whitespace 'chomp) | 600 | (setq-local electric-pair-skip-whitespace 'chomp) |
| 599 | (setq-local electric-pair-open-newline-between-pairs nil)) | 601 | (setq-local electric-pair-open-newline-between-pairs nil)) |
| 600 | 602 | ||
| @@ -655,9 +657,6 @@ font-lock keywords will not be case sensitive." | |||
| 655 | :type 'hook | 657 | :type 'hook |
| 656 | :group 'lisp) | 658 | :group 'lisp) |
| 657 | 659 | ||
| 658 | (defconst lisp--prettify-symbols-alist | ||
| 659 | '(("lambda" . ?λ))) | ||
| 660 | |||
| 661 | ;;; Generic Lisp mode. | 660 | ;;; Generic Lisp mode. |
| 662 | 661 | ||
| 663 | (defvar lisp-mode-map | 662 | (defvar lisp-mode-map |