all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: 26778-done@debbugs.gnu.org
Subject: bug#26778: 25.1; Docstring for DEFPARAMETER is off-colored in lisp-mode
Date: Fri, 05 May 2017 02:17:28 -0400	[thread overview]
Message-ID: <lwa86rhlon.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <9d9fe2e5212985e530708fb58df9552b@openmailbox.org> (phoe@openmailbox.org's message of "Thu, 04 May 2017 13:05:50 +0200")

Version: 26.1

commit 4af2431
Date:   Thu May 4 23:15:53 2017 -0700

    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)

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	other threads:[~2017-05-05  6:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-04 11:05 bug#26778: 25.1; Docstring for DEFPARAMETER is off-colored in lisp-mode phoe
2017-05-05  6:17 ` Glenn Morris [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=lwa86rhlon.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=26778-done@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.