emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61432: closed (28.2; [PATCH] viper-init: disable face support)


From: GNU bug Tracking System
Subject: bug#61432: closed (28.2; [PATCH] viper-init: disable face support)
Date: Sat, 18 Feb 2023 17:02:02 +0000

Your message dated Sat, 18 Feb 2023 19:01:05 +0200
with message-id <834jrizz5a.fsf@gnu.org>
and subject line Re: bug#61432: 28.2; [PATCH] viper-init: disable face support
has caused the debbugs.gnu.org bug report #61432,
regarding 28.2; [PATCH] viper-init: disable face support
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
61432: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61432
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 28.2; [PATCH] viper-init: disable face support Date: Sat, 11 Feb 2023 14:22:44 +0000
Hi.

The following patch disables face support for not changing the modeline
fonts when using viper.

diff -u /tmp/viper-init.el.bak /tmp/viper-init.el
--- /tmp/viper-init.el.bak      2023-02-10 12:25:52.388368619 +0000
+++ /tmp/viper-init.el  2023-02-10 12:30:11.118394615 +0000
@@ -78,11 +78,16 @@
   :type 'boolean
   :group 'viper-highlighting)
 
+(defvar viper-disable-face-support nil
+  "disable the face support for not changing faces in the modeline. And stay 
as emacs -Q.")
+
 (defun viper-has-face-support-p ()
+  (if (and (boundp 'viper-disable-face-support) viper-disable-face-support)
+      nil
   (cond ((viper-window-display-p))
        (viper-force-faces)
        ((viper-color-display-p))
-       (t (memq window-system '(pc)))))
+       (t (memq window-system '(pc))))))
 
 
 ;;; Macros

Diff finished.  Fri Feb 10 12:31:17 2023
Best Regards

--- End Message ---
--- Begin Message --- Subject: Re: bug#61432: 28.2; [PATCH] viper-init: disable face support Date: Sat, 18 Feb 2023 19:01:05 +0200

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]