From: Stefan Monnier Date: Wed, 5 Oct 2005 14:07:18 +0000 (+0000) Subject: (lisp-font-lock-syntactic-face-function): X-Git-Tag: emacs-pretest-22.0.90~6809 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=efbbcafbbecd28a962fe20b9afc45c353c0d7245;p=emacs.git (lisp-font-lock-syntactic-face-function): Don't mark as docstring the 3rd elem of an unknown toplevel form. --- diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index e50d5bd125c..b347c136adf 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -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))