mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 15:56:35 -04:00
lisp-mode: add docstring recognition for more common lisp symbols
* lisp/emacs-lisp/lisp-mode.el (define-compiler-macro) (define-setf-expander, deftype): Add the 'doc-string-elt' property for proper docstring highlighting in Common Lisp.
This commit is contained in:
parent
417a8ed8b0
commit
67c6ec2559
|
|
@ -181,8 +181,11 @@ to a package-local <package>-loaddefs.el file.")
|
|||
(put 'define-category 'doc-string-elt 2)
|
||||
;; CL
|
||||
(put 'defconstant 'doc-string-elt 3)
|
||||
(put 'define-compiler-macro 'doc-string-elt 3)
|
||||
(put 'define-setf-expander 'doc-string-elt 3)
|
||||
(put 'defparameter 'doc-string-elt 3)
|
||||
(put 'defstruct 'doc-string-elt 2)
|
||||
(put 'deftype 'doc-string-elt 3)
|
||||
|
||||
(defvar lisp-doc-string-elt-property 'doc-string-elt
|
||||
"The symbol property that holds the docstring position info.")
|
||||
|
|
|
|||
Loading…
Reference in a new issue