emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master e57a0c3: Use highlight for current items.


From: Mark Oteiza
Subject: [Emacs-diffs] master e57a0c3: Use highlight for current items.
Date: Mon, 12 Oct 2015 20:50:21 +0000

branch: master
commit e57a0c3d38b3e2bdd408a7e02b7308fa281f3073
Author: Mark Oteiza <address@hidden>
Commit: Mark Oteiza <address@hidden>

    Use highlight for current items.
    
    * lisp/mpc.el (mpc-select-make-overlay, mpc-tagbrowser-all-select):
    Apply highlight face instead of region face.
---
 lisp/mpc.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/mpc.el b/lisp/mpc.el
index 6e69b6f..a5fc376 100644
--- a/lisp/mpc.el
+++ b/lisp/mpc.el
@@ -1263,7 +1263,7 @@ If PLAYLIST is t or nil or missing, use the main 
playlist."
   (let ((ol (make-overlay
              (line-beginning-position) (line-beginning-position 2))))
     (overlay-put ol 'mpc-select t)
-    (overlay-put ol 'face 'region)
+    (overlay-put ol 'face 'highlight)
     (overlay-put ol 'evaporate t)
     (push ol mpc-select)))
 
@@ -1562,7 +1562,7 @@ when constructing the set of constraints."
           (move-overlay mpc-tagbrowser-all-ol
                         (point) (line-beginning-position 2))
         (let ((ol (make-overlay (point) (line-beginning-position 2))))
-          (overlay-put ol 'face 'region)
+          (overlay-put ol 'face 'highlight)
           (overlay-put ol 'evaporate t)
           (setq-local mpc-tagbrowser-all-ol ol))))))
 



reply via email to

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