]> git.eshelyaron.com Git - emacs.git/commitdiff
Additional change for Bug#61432
authorandrés ramírez <rrandresf@hotmail.com>
Thu, 23 Feb 2023 14:59:20 +0000 (15:59 +0100)
committerRobert Pluim <rpluim@gmail.com>
Thu, 23 Feb 2023 15:05:02 +0000 (16:05 +0100)
* lisp/emulation/viper-cmd.el (viper-set-mode-vars-for): Check
'viper-enable-minibuffer-faces' before enabling minibuffer overlays.

lisp/emulation/viper-cmd.el

index ee96d8efac665201ae9666f5d7aa8ca4c956a13d..2a37c383f81578e34bfd130288c02bdb8325e0f4 100644 (file)
                  ((memq state '(insert-state replace-state))
                   viper-minibuffer-insert-face))))
 
-  (if (viper-is-in-minibuffer)
+  (if (and (viper-is-in-minibuffer) viper-enable-minibuffer-faces)
       (viper-set-minibuffer-overlay))
   )