emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/keycast 5f2157a899 1/2: keycast-key: Use fixed-pitch


From: ELPA Syncer
Subject: [nongnu] elpa/keycast 5f2157a899 1/2: keycast-key: Use fixed-pitch
Date: Wed, 26 Jan 2022 12:58:13 -0500 (EST)

branch: elpa/keycast
commit 5f2157a8999ab0ce786d0a2cb9408a4631a9a6ef
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    keycast-key: Use fixed-pitch
    
    Even with this the displayed key still changes size (and that is okay)
    but it no longer does so only subtly when e.g. pressing "C-p" and then
    "TAB" and the mode-line or tab-bar uses a variable-pitch font.
---
 keycast.el | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/keycast.el b/keycast.el
index d6b009f504..d5304eedb9 100644
--- a/keycast.el
+++ b/keycast.el
@@ -251,10 +251,11 @@ instead."
                         (symbol  :tag "Substitute command")))))
 
 (defface keycast-key
-  '((t (:weight bold
-        :background "#d5cfbf"
-        :foreground "#000000"
-       :box (:line-width -3 :style released-button))))
+  '((t ( :inherit fixed-pitch
+         :weight bold
+         :background "#d5cfbf"
+         :foreground "#000000"
+        :box (:line-width -3 :style released-button))))
   "When Keycast mode is enabled, face used for the key in the mode line."
   :group 'keycast)
 



reply via email to

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