Reset the pulse face more fully in pulse-reset-face
* lisp/cedet/pulse.el (pulse-reset-face): Reset the :extend to nil if there's no face given (bug#48936).
This commit is contained in:
parent
788e5cce4d
commit
00802c0cfe
1 changed files with 4 additions and 3 deletions
|
@ -120,9 +120,10 @@ Face used for temporary highlighting of tags for effect."
|
|||
(face-background face nil t)
|
||||
(face-background 'pulse-highlight-start-face)
|
||||
))
|
||||
(and face
|
||||
(set-face-extend 'pulse-highlight-face
|
||||
(face-extend-p face nil t)))
|
||||
(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)))
|
||||
(put 'pulse-highlight-face :startface (or face
|
||||
'pulse-highlight-start-face))
|
||||
(setq pulse-momentary-iteration 0))
|
||||
|
|
Loading…
Add table
Reference in a new issue