; (completion-preview--bg-color): Fix bug#75544.

* lisp/completion-preview.el (completion-preview--bg-color):
Fix loop check.
This commit is contained in:
Eshel Yaron 2025-01-14 07:37:18 +01:00
parent e6ad99e36c
commit 0226d35794
No known key found for this signature in database
GPG key ID: EF3EE9CA35D78618

View file

@ -330,7 +330,7 @@ Completion Preview mode avoids updating the preview after these commands.")
(dolist (face (if (face-list-p spec) spec (list spec)))
(let (cur)
(if (and (setq cur (alist-get face face-remapping-alist))
(not (memq cur trace)))
(not (memq face trace)))
(rec cur (cons face trace))
(cond ((and face (symbolp face))
(let ((value (face-attribute face :background nil t)))