emacs-devel
[Top][All Lists]
Advanced

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

Re: Tweaking the output of `C-h b'


From: Lars Ingebrigtsen
Subject: Re: Tweaking the output of `C-h b'
Date: Mon, 01 Nov 2021 01:32:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

>      :box (:line-width (1 . -1) :color "grey35"))

Oh, it was just the Y that was negative -- the X was wider, even if it
wasn't noticeable in the buffer.

The following patch fixes the issue and makes things line up better:

diff --git a/lisp/faces.el b/lisp/faces.el
index 83c6b69532..84180eadc0 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -2879,10 +2879,10 @@ help-key-binding
      ;; 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"))


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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