From efbbcafbbecd28a962fe20b9afc45c353c0d7245 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 5 Oct 2005 14:07:18 +0000 Subject: [PATCH] (lisp-font-lock-syntactic-face-function): Don't mark as docstring the 3rd elem of an unknown toplevel form. --- lisp/emacs-lisp/lisp-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.5