# HG changeset patch # User Stefan Monnier # Date 1097506610 0 # Node ID 1b88b2a7544f4af7fdbf67295a88ac39c5f6d9e1 # Parent d95ac5c74632af6e4b104da418f51b159c9b25fc (font-lock-apply-highlight): Fix last change. diff -r d95ac5c74632 -r 1b88b2a7544f lisp/font-lock.el --- 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