Fix previous pulse.el fix

* lisp/cedet/pulse.el (pulse-reset-face): Fix up previous
pulse-reset-face change -- reset back to the start face
(bug#48936).
This commit is contained in:
Lars Ingebrigtsen 2021-06-13 15:38:52 +02:00
parent 55d7effbe1
commit 2f7a115a9c

View file

@ -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))