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: Stefan Kangas
Subject: Re: Tweaking the output of `C-h b'
Date: Sun, 31 Oct 2021 18:24:37 -0700

Lars Ingebrigtsen <larsi@gnus.org> writes:

> 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"))

LGTM.  I used the negative -1 for the y value to avoid the line being
taller, so it makes sense to use it for the x value to avoid characters
being wider.



reply via email to

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