emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 13f7e07: Ensure that the pulse overlay is visible


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 13f7e07: Ensure that the pulse overlay is visible
Date: Wed, 9 Oct 2019 04:41:37 -0400 (EDT)

branch: master
commit 13f7e07e7c386753f64691bcf12e43d3325131f1
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Ensure that the pulse overlay is visible
    
    * lisp/cedet/pulse.el (pulse-momentary-highlight-overlay): Make
    the pulse overlay have priority over the marked-region overlay
    (bug#29173).
---
 lisp/cedet/pulse.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/cedet/pulse.el b/lisp/cedet/pulse.el
index 7aaca83..ac3fb25 100644
--- a/lisp/cedet/pulse.el
+++ b/lisp/cedet/pulse.el
@@ -179,6 +179,9 @@ Optional argument FACE specifies the face to do the 
highlighting."
   ;; We don't support simultaneous highlightings.
   (pulse-momentary-unhighlight)
   (overlay-put o 'original-face (overlay-get o 'face))
+  ;; Make this overlay take priority over the `transient-mark-mode'
+  ;; overlay.
+  (overlay-put o 'priority 1)
   (setq pulse-momentary-overlay o)
   (if (eq pulse-flag 'never)
       nil



reply via email to

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