changeset 57433:1b88b2a7544f

(font-lock-apply-highlight): Fix last change.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 11 Oct 2004 14:56:50 +0000
parents d95ac5c74632
children 1776f7c5e250
files lisp/font-lock.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/font-lock.el	Mon Oct 11 10:50:00 2004 +0000
+++ b/lisp/font-lock.el	Mon Oct 11 14:56:50 2004 +0000
@@ -1324,7 +1324,7 @@
 	  (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