diff options
| author | Mark Oteiza | 2016-07-08 17:12:54 -0400 |
|---|---|---|
| committer | Mark Oteiza | 2016-07-08 17:12:54 -0400 |
| commit | bdda4855c635ecf4135e23321bdba023e9ae65c9 (patch) | |
| tree | 6e4db36729b5dc01406e27034537259e8c6f7018 | |
| parent | 5deebc3c914c86e84d11661a7877c00b2d7fddd1 (diff) | |
| download | emacs-bdda4855c635ecf4135e23321bdba023e9ae65c9.tar.gz emacs-bdda4855c635ecf4135e23321bdba023e9ae65c9.zip | |
Add a couple cells to lisp-prettify-symbols-alist
* lisp/emacs-lisp/lisp-mode.el (lisp-prettify-symbols-alist): Add
"sqrt" and "not".
| -rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index a277d7a6680..ee3bda95b84 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el | |||
| @@ -168,7 +168,10 @@ | |||
| 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" . ?λ)) | 171 | (defconst lisp-prettify-symbols-alist |
| 172 | '(("lambda" . ?λ) | ||
| 173 | ("sqrt" . ?√) | ||
| 174 | ("not" . ?¬)) | ||
| 172 | "Alist of symbol/\"pretty\" characters to be displayed.") | 175 | "Alist of symbol/\"pretty\" characters to be displayed.") |
| 173 | 176 | ||
| 174 | ;;;; Font-lock support. | 177 | ;;;; Font-lock support. |