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:
parent
29fabd8cee
commit
a5f48305f1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue