Subject: Re: bug#14523: Inconsistency in font-lock/lisp mode for docstrings

From: Glenn Morris <[email-masked]>
Date: Fri, 31 May 2013 20:13:49 -0400

Max Rottenkolber wrote:

> On "GNU Emacs 24.2.1 (i486-slackware-linux-gnu, GTK+ Version 2.24.10) of
> 2012-08-31 on hive" using font-lock-mode it conjunction with lisp mode
> (and Common Lisp code): If font-lock-doc-face != font-lock-string-face
> docstrings are marked up inconsistently. E.g. DEFUN's docstrings use the
> first face, but DEVAR docstrings use the latter face.

Please give a complete example starting from emacs -Q.
I cannot reproduce this with:

emacs-24.2 -Q foo.el

where foo.el has contents:

(defun func () "function doc" t)
(defvar var "blah" "var doc")

Both doc-strings are in font-lock-doc-face.