]> git.eshelyaron.com Git - emacs.git/commitdiff
(font-lock-apply-highlight): Fix last change.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 11 Oct 2004 14:56:50 +0000 (14:56 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 11 Oct 2004 14:56:50 +0000 (14:56 +0000)
lisp/font-lock.el

index 56a4005a41cbf7ecef7884ae8dbdfaacd064ca80..83b7516604d7888d263570c67dfa294a560d0008 100644 (file)
@@ -1324,7 +1324,7 @@ HIGHLIGHT should be of the form MATCH-HIGHLIGHT, see `font-lock-keywords'."
          (add-text-properties start end (cddr val))
          (setq val (cadr val)))
        (cond
-        ((not val)
+        ((not (or val (eq override t)))
          ;; If `val' is nil, don't do anything.  It is important to do it
          ;; explicitly, because when adding nil via things like
          ;; font-lock-append-text-property, the property is actually