projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8732c6
)
Fontify the doc-string in some CL forms as such
author
Glenn Morris
<rgm@gnu.org>
Fri, 5 May 2017 06:15:53 +0000
(23:15 -0700)
committer
Glenn 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
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/lisp-mode.el
b/lisp/emacs-lisp/lisp-mode.el
index 54d916887cd92c93bf44fe0c11868ebcb1bf3d24..7448864ff99a49789480e9ce95d084b1fdefe1b1 100644
(file)
--- 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.")