From da3af500ad490db5cded8dfca7f2ec713b52629c Mon Sep 17 00:00:00 2001 From: Jimmy Aguilar Mena Date: Tue, 22 Mar 2022 18:29:05 +0100 Subject: [PATCH] Revert "Set cursor-face-highlight-nonselected-window in completions." This reverts commit 1641b5c04c383b5f53298d70776e3c18577b6f30. This fixes incorrect highlight in Completions. --- lisp/simple.el | 2 -- 1 file changed, 2 deletions(-) diff --git a/lisp/simple.el b/lisp/simple.el index 59c86cf7788..9a8ed0bb757 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -9402,8 +9402,6 @@ Called from `temp-buffer-show-hook'." (setq tab-width completion-tab-width)) ;; Maybe enable cursor completions-highlight. (when completions-highlight-face - ;; Keep highlighting 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