Mercurial > emacs
diff lisp/font-lock.el @ 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 | 05afd8f1212e |
children | 5451548f1bd9 47f53c5c9620 ff0e824afa37 |
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