emacs-devel
[Top][All Lists]
Advanced

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

Re: lisp-font-lock-syntactic-face-function


From: martin rudalics
Subject: Re: lisp-font-lock-syntactic-face-function
Date: Fri, 21 Oct 2005 10:05:38 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Thanks for the careful revision.  However, a number of doc-strings don't
get highlighted properly anymore due to the "Don't mark as docstring the
3rd elem of an unknown toplevel form" change - among them those for
`defface' and `defalias'.  I earlier proposed to add

(put 'defadvice 'doc-string-elt 3)
(put 'defgroup 'doc-string-elt 3)
(put 'defface 'doc-string-elt 3)

(put 'defalias 'doc-string-elt 3)
(put 'defvaralias 'doc-string-elt 3)
(put 'define-obsolete-function-alias 'doc-string-elt 4)
(put 'define-obsolete-variable-alias 'doc-string-elt 4)

(put 'defimage 'doc-string-elt 3)
(put 'define-category 'doc-string-elt 2)
(put 'define-widget 'doc-string-elt 3)

Maybe this is the moment to do that.  You might also consider replacing
the remaining (nth 8 state) with `startpos'.





reply via email to

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