]> git.eshelyaron.com Git - emacs.git/commitdiff
Set cursor-face-highlight-nonselected-window in completions.
authorJimmy Aguilar Mena <spacibba@aol.com>
Mon, 21 Mar 2022 06:55:03 +0000 (07:55 +0100)
committerJimmy Aguilar Mena <spacibba@aol.com>
Mon, 21 Mar 2022 06:55:03 +0000 (07:55 +0100)
* lisp/simple.el (completion-setup-function) : Sets
cursor-face-highlight-nonselected-window to t in Completions.

lisp/simple.el

index 369e11e47c3f857600a13f461a0759509a8eec51..8eece3e81fb7f771f5eabc3ea103a00edd6821b8 100644 (file)
@@ -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