diff options
author | Glenn Morris <rgm@gnu.org> | 2017-05-04 23:15:53 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2017-05-04 23:15:53 -0700 |
commit | 4af24317b4c043ffa4ce303e57276954920bf204 (patch) | |
tree | 711faa4389c89ddbb5ad7620f480e59afa0e9f22 /lisp/emacs-lisp | |
parent | b8732c652ad69f815c2f4d4c4c966437463327fa (diff) | |
download | emacs-4af24317b4c043ffa4ce303e57276954920bf204.tar.gz emacs-4af24317b4c043ffa4ce303e57276954920bf204.tar.bz2 emacs-4af24317b4c043ffa4ce303e57276954920bf204.zip |
Fontify the doc-string in some CL forms as such
* lisp/emacs-lisp/lisp-mode.el (defconstant, defparameter):
Add the doc-string-elt property. (Bug#26778)
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 54d916887cd..7448864ff99 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -164,6 +164,9 @@ (put 'defalias 'doc-string-elt 3) (put 'defvaralias 'doc-string-elt 3) (put 'define-category 'doc-string-elt 2) +;; CL +(put 'defconstant 'doc-string-elt 3) +(put 'defparameter 'doc-string-elt 3) (defvar lisp-doc-string-elt-property 'doc-string-elt "The symbol property that holds the docstring position info.") |