summaryrefslogtreecommitdiff
path: root/lisp/cedet/pulse.el
diff options
context:
space:
mode:
authorGregory Heytings <gregory@heytings.org>2021-05-25 06:22:36 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-05-25 06:22:36 +0200
commit1fa58c548ae7c00550aef4f49d02dbe93b1ddf5f (patch)
treea4224d3163bfcce5c8b23b8a4ce887e462c583d0 /lisp/cedet/pulse.el
parent740d424547d3fabefc40e5aabba9bc2d5ba837fc (diff)
downloademacs-1fa58c548ae7c00550aef4f49d02dbe93b1ddf5f.tar.gz
Use correct face when pulsing in CEDET
* lisp/cedet/pulse.el (pulse-momentary-highlight-overlay): Use pulse-highlight-face, not pulse-highlight-start-face (bug#47810).
Diffstat (limited to 'lisp/cedet/pulse.el')
-rw-r--r--lisp/cedet/pulse.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/cedet/pulse.el b/lisp/cedet/pulse.el
index 1e4506713ae..62b2072e18c 100644
--- a/lisp/cedet/pulse.el
+++ b/lisp/cedet/pulse.el
@@ -153,8 +153,7 @@ Optional argument FACE specifies the face to do the highlighting."
;; with a reference face needed for the color.
(pulse-reset-face face)
(let* ((start (color-name-to-rgb
- (face-background 'pulse-highlight-start-face
- nil 'default)))
+ (face-background 'pulse-highlight-face nil 'default)))
(stop (color-name-to-rgb (face-background 'default)))
(colors (mapcar (apply-partially 'apply 'color-rgb-to-hex)
(color-gradient start stop pulse-iterations))))