]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Set cursor-face-highlight-nonselected-window in completions."
authorJimmy Aguilar Mena <spacibba@aol.com>
Tue, 22 Mar 2022 17:29:05 +0000 (18:29 +0100)
committerJimmy Aguilar Mena <spacibba@aol.com>
Tue, 22 Mar 2022 17:31:13 +0000 (18:31 +0100)
This reverts commit 1641b5c04c383b5f53298d70776e3c18577b6f30.

This fixes incorrect highlight in Completions.

lisp/simple.el

index 59c86cf778830473b8df6a38071c060751f3dafa..9a8ed0bb75707879d85022975655060b9588b2d2 100644 (file)
@@ -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