emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 2f7a115: Fix previous pulse.el fix


From: Lars Ingebrigtsen
Subject: master 2f7a115: Fix previous pulse.el fix
Date: Sun, 13 Jun 2021 09:39:23 -0400 (EDT)

branch: master
commit 2f7a115a9c876e69296974e8e02ece569df988e9
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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).
---
 lisp/cedet/pulse.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lisp/cedet/pulse.el b/lisp/cedet/pulse.el
index 54b14c6..7928fa1 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]