]> git.eshelyaron.com Git - emacs.git/commitdiff
(lisp-font-lock-syntactic-face-function):
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 5 Oct 2005 14:07:18 +0000 (14:07 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 5 Oct 2005 14:07:18 +0000 (14:07 +0000)
Don't mark as docstring the 3rd elem of an unknown toplevel form.

lisp/emacs-lisp/lisp-mode.el

index e50d5bd125c7c6ded607d8a8d0ea1ec8812ece5a..b347c136adfb97f824ba9d9ba2b4e7ff6a123dd7 100644 (file)
                     (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))