emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 4af2431: Fontify the doc-string in some CL forms as


From: Glenn Morris
Subject: [Emacs-diffs] master 4af2431: Fontify the doc-string in some CL forms as such
Date: Fri, 5 May 2017 02:16:19 -0400 (EDT)

branch: master
commit 4af24317b4c043ffa4ce303e57276954920bf204
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    Fontify the doc-string in some CL forms as such
    
    * lisp/emacs-lisp/lisp-mode.el (defconstant, defparameter):
    Add the doc-string-elt property.  (Bug#26778)
---
 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 54d9168..7448864 100644
--- a/lisp/emacs-lisp/lisp-mode.el
+++ b/lisp/emacs-lisp/lisp-mode.el
@@ -164,6 +164,9 @@
 (put 'defalias 'doc-string-elt 3)
 (put 'defvaralias 'doc-string-elt 3)
 (put 'define-category 'doc-string-elt 2)
+;; CL
+(put 'defconstant 'doc-string-elt 3)
+(put 'defparameter 'doc-string-elt 3)
 
 (defvar lisp-doc-string-elt-property 'doc-string-elt
   "The symbol property that holds the docstring position info.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]