emacs-diffs
[Top][All Lists]
Advanced

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

emacs-27 90321f5: Fix face extension in pulse.el


From: Eli Zaretskii
Subject: emacs-27 90321f5: Fix face extension in pulse.el
Date: Thu, 9 Apr 2020 12:46:18 -0400 (EDT)

branch: emacs-27
commit 90321f595c88324cccaa820add096e5d1c3deac5
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix face extension in pulse.el
    
    * lisp/cedet/pulse.el (pulse-reset-face): Propagate the :extend
    attribute of FACE to the face used for displaying the pulse.
    Reported by Adam Porter <address@hidden>.
---
 lisp/cedet/pulse.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/cedet/pulse.el b/lisp/cedet/pulse.el
index 16243e1..8649254 100644
--- a/lisp/cedet/pulse.el
+++ b/lisp/cedet/pulse.el
@@ -161,6 +161,9 @@ Return t if there is more drift to do, nil if completed."
                           (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)))
   (put 'pulse-highlight-face :startface (or face
                                            'pulse-highlight-start-face))
   (put 'pulse-highlight-face :iteration 0))



reply via email to

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