[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 67c6ec2559: lisp-mode: add docstring recognition for more commo
From: |
Eli Zaretskii |
Subject: |
emacs-29 67c6ec2559: lisp-mode: add docstring recognition for more common lisp symbols |
Date: |
Thu, 9 Feb 2023 09:11:49 -0500 (EST) |
branch: emacs-29
commit 67c6ec25590a690cbf8659e65e64f319ce3bcd64
Author: Nicolas Martyanoff <nicolas@n16f.net>
Commit: Eli Zaretskii <eliz@gnu.org>
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.
---
lisp/emacs-lisp/lisp-mode.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
index 367f59e878..d44c9d6e23 100644
--- a/lisp/emacs-lisp/lisp-mode.el
+++ b/lisp/emacs-lisp/lisp-mode.el
@@ -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.")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 67c6ec2559: lisp-mode: add docstring recognition for more common lisp symbols,
Eli Zaretskii <=