]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix face extension in pulse.el
authorEli Zaretskii <eliz@gnu.org>
Thu, 9 Apr 2020 16:44:55 +0000 (19:44 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 9 Apr 2020 16:44:55 +0000 (19:44 +0300)
* 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 <adam@alphapapa.net>.

lisp/cedet/pulse.el

index 16243e16b45cea944b13337d7f5a9d49facc2349..8649254aeddf23013238e627ff8b2e8b1b89b351 100644 (file)
@@ -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))