GNU bug report logs - #14523
Inconsistency in font-lock/lisp mode for docstrings

Previous Next

Package: emacs;

Reported by: Max Rottenkolber <max <at> mr.gy>

Date: Fri, 31 May 2013 17:38:02 UTC

Severity: minor

Tags: moreinfo, notabug

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Max Rottenkolber <max <at> mr.gy>
Cc: 14523 <at> debbugs.gnu.org
Subject: bug#14523: Inconsistency in font-lock/lisp mode for docstrings
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.




This bug report was last modified 11 years and 341 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.