[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 4d3428e95a9: Fix docstring fontification of CL's 'defstruct'
From: |
Eli Zaretskii |
Subject: |
emacs-29 4d3428e95a9: Fix docstring fontification of CL's 'defstruct' |
Date: |
Thu, 2 Feb 2023 13:13:00 -0500 (EST) |
branch: emacs-29
commit 4d3428e95a9ea38841bc234780b8abfc6a34919e
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
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
---
lisp/emacs-lisp/lisp-mode.el | 1 +
1 file changed, 1 insertion(+)
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.")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 4d3428e95a9: Fix docstring fontification of CL's 'defstruct',
Eli Zaretskii <=