[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/font-lock.el
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/font-lock.el |
Date: |
Sat, 09 Oct 2004 22:01:56 -0400 |
Index: emacs/lisp/font-lock.el
diff -c emacs/lisp/font-lock.el:1.226 emacs/lisp/font-lock.el:1.227
*** emacs/lisp/font-lock.el:1.226 Sun Aug 22 16:53:44 2004
--- emacs/lisp/font-lock.el Sun Oct 10 01:54:12 2004
***************
*** 1324,1329 ****
--- 1324,1335 ----
(add-text-properties start end (cddr val))
(setq val (cadr val)))
(cond
+ ((not val)
+ ;; 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
+ ;; changed from <face> to (<face>) which is undesirable. --Stef
+ nil)
((not override)
;; Cannot override existing fontification.
(or (text-property-not-all start end 'face nil)
- [Emacs-diffs] Changes to emacs/lisp/font-lock.el,
Stefan Monnier <=