summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/cedet/pulse.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/cedet/pulse.el b/lisp/cedet/pulse.el
index 54b14c67ed1..7928fa1bf42 100644
--- a/lisp/cedet/pulse.el
+++ b/lisp/cedet/pulse.el
@@ -121,9 +121,8 @@ Face used for temporary highlighting of tags for effect."
(face-background 'pulse-highlight-start-face)
))
(set-face-extend 'pulse-highlight-face
- ;; If there's a face, use the :extend from that.
- ;; Otherwise, set it to nil.
- (and face (face-extend-p face nil t)))
+ (face-extend-p (or face 'pulse-highlight-start-face)
+ nil t))
(put 'pulse-highlight-face :startface (or face
'pulse-highlight-start-face))
(setq pulse-momentary-iteration 0))