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
1 changed files with 3 additions and 0 deletions
|
@ -181,8 +181,11 @@ to a package-local <package>-loaddefs.el file.")
|
||||||
(put 'define-category 'doc-string-elt 2)
|
(put 'define-category 'doc-string-elt 2)
|
||||||
;; CL
|
;; CL
|
||||||
(put 'defconstant 'doc-string-elt 3)
|
(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 'defparameter 'doc-string-elt 3)
|
||||||
(put 'defstruct 'doc-string-elt 2)
|
(put 'defstruct 'doc-string-elt 2)
|
||||||
|
(put 'deftype 'doc-string-elt 3)
|
||||||
|
|
||||||
(defvar lisp-doc-string-elt-property 'doc-string-elt
|
(defvar lisp-doc-string-elt-property 'doc-string-elt
|
||||||
"The symbol property that holds the docstring position info.")
|
"The symbol property that holds the docstring position info.")
|
||||||
|
|
Loading…
Add table
Reference in a new issue