From: Lars Ingebrigtsen <larsi@gnus.org>
Date: Mon, 1 Nov 2021 00:34:59 +0000 (+0100)
Subject: Don't make key binding face wider than the norm
X-Git-Tag: emacs-29.0.90~3671^2~315
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c825c825256475ac5c74882811a44228140f18ee;p=emacs.git

Don't make key binding face wider than the norm

* lisp/faces.el (help-key-binding): Don't make the chars wider
than normally, because that makes `C-h b' lining-up logic fail.
---

diff --git a/lisp/faces.el b/lisp/faces.el
index 83c6b695320..84180eadc03 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -2879,10 +2879,10 @@ Note: Other faces cannot inherit from the cursor face."
      ;; We use negative thickness of the horizontal box border line to
      ;; avoid enlarging the height of the echo-area display, which
      ;; would then move the mode line a few pixels up.
-     :box (:line-width (1 . -1) :color "grey80"))
+     :box (:line-width (-1 . -1) :color "grey80"))
     (((class color) (min-colors 88) (background dark))
      :background "grey19" :foreground "LightBlue"
-     :box (:line-width (1 . -1) :color "grey35"))
+     :box (:line-width (-1 . -1) :color "grey35"))
     (((class color grayscale) (background light)) :background "grey90")
     (((class color grayscale) (background dark)) :background "grey25")
     (t :background "grey90"))