1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-05-01 02:31:23 -07:00

(font-lock-apply-highlight): Fix last change.

This commit is contained in:
Stefan Monnier 2004-10-11 14:56:50 +00:00
parent 29fabd8cee
commit a5f48305f1

View 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