emacs-diffs
[Top][All Lists]
Advanced

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

feature/completions-customs 1641b5c04c: Set cursor-face-highlight-nonsel


From: Jimmy Aguilar Mena
Subject: feature/completions-customs 1641b5c04c: Set cursor-face-highlight-nonselected-window in completions.
Date: Mon, 21 Mar 2022 02:58:14 -0400 (EDT)

branch: feature/completions-customs
commit 1641b5c04c383b5f53298d70776e3c18577b6f30
Author: Jimmy Aguilar Mena <spacibba@aol.com>
Commit: Jimmy Aguilar Mena <spacibba@aol.com>

    Set cursor-face-highlight-nonselected-window in completions.
    
    * lisp/simple.el (completion-setup-function) : Sets
    cursor-face-highlight-nonselected-window to t in Completions.
---
 lisp/simple.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/simple.el b/lisp/simple.el
index 369e11e47c..8eece3e81f 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -9399,6 +9399,8 @@ Called from `temp-buffer-show-hook'."
         (setq tab-width completion-tab-width))
       ;; Maybe enable cursor completions-highlight.
       (when completions-highlight-face
+        ;; keep highlight even if not selected
+        (setq-local cursor-face-highlight-nonselected-window t)
         (cursor-face-highlight-mode 1))
       ;; Maybe insert help string.
       (when completion-show-help



reply via email to

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