diff options
author | Eli Zaretskii <eliz@gnu.org> | 2023-02-02 20:12:02 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2023-02-02 20:12:02 +0200 |
commit | 4d3428e95a9ea38841bc234780b8abfc6a34919e (patch) | |
tree | fb8b369e93e8a6ec7ef54452c564bbf3c8d3431d /lisp/emacs-lisp/lisp-mode.el | |
parent | 1c125baa3f0d908eaf19698bbef2e81653e4f421 (diff) | |
download | emacs-4d3428e95a9ea38841bc234780b8abfc6a34919e.tar.gz emacs-4d3428e95a9ea38841bc234780b8abfc6a34919e.tar.bz2 emacs-4d3428e95a9ea38841bc234780b8abfc6a34919e.zip |
Fix docstring fontification of CL's 'defstruct'
* lisp/emacs-lisp/lisp-mode.el (defstruct): Set 'doc-string'
property. Patch by Nicolas Martyanoff <nicolas@n16f.net>.
Copyright-paperwork-exempt: yes
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
-rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index bacc105a214..367f59e8785 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -182,6 +182,7 @@ to a package-local <package>-loaddefs.el file.") ;; CL (put 'defconstant 'doc-string-elt 3) (put 'defparameter 'doc-string-elt 3) +(put 'defstruct 'doc-string-elt 2) (defvar lisp-doc-string-elt-property 'doc-string-elt "The symbol property that holds the docstring position info.") |