1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-30 19:53:09 +00:00

(lisp-font-lock-syntactic-face-function):

Don't mark as docstring the 3rd elem of an unknown toplevel form.
This commit is contained in:
Stefan Monnier 2005-10-05 14:07:18 +00:00
parent ec79de1002
commit efbbcafbbe

View File

@ -163,7 +163,7 @@
(let ((sym (intern-soft
(buffer-substring
(point) (progn (forward-sexp 1) (point))))))
(eq n (or (get sym 'doc-string-elt) 3)))))))
(eq n (get sym 'doc-string-elt)))))))
font-lock-doc-face
font-lock-string-face)
font-lock-comment-face))