fix(vertico): disable minor mode highlight duly

Minor mode highlights did not disable as long
as the mode was enabled.

Amend: #7706
This commit is contained in:
Dev380 2024-03-09 21:54:06 -08:00 committed by GitHub
parent d657be1744
commit 7018cb45fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -371,7 +371,8 @@ orderless."
(if (or (eq sym major-mode)
(and
(memq sym minor-mode-list)
(boundp sym)))
(boundp sym)
(symbol-value sym)))
(add-face-text-property 0 (length cmd) 'font-lock-constant-face 'append cmd)))
cmd))