]> git.eshelyaron.com Git - emacs.git/commitdiff
Fontify the doc-string in some CL forms as such
authorGlenn Morris <rgm@gnu.org>
Fri, 5 May 2017 06:15:53 +0000 (23:15 -0700)
committerGlenn Morris <rgm@gnu.org>
Fri, 5 May 2017 06:15:53 +0000 (23:15 -0700)
* lisp/emacs-lisp/lisp-mode.el (defconstant, defparameter):
Add the doc-string-elt property.  (Bug#26778)

lisp/emacs-lisp/lisp-mode.el

index 54d916887cd92c93bf44fe0c11868ebcb1bf3d24..7448864ff99a49789480e9ce95d084b1fdefe1b1 100644 (file)
 (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.")