From 1641b5c04c383b5f53298d70776e3c18577b6f30 Mon Sep 17 00:00:00 2001 From: Jimmy Aguilar Mena Date: Mon, 21 Mar 2022 07:55:03 +0100 Subject: [PATCH] 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 369e11e47c3..8eece3e81fb 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 -- 2.39.2