From: Lars Ingebrigtsen Date: Fri, 22 Jul 2022 20:43:38 +0000 (+0200) Subject: Fix spacing in *Help* buttons X-Git-Tag: emacs-29.0.90~1447^2~801 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dd902c43f3a30baf614986b8126eb30f1e8c6163;p=emacs.git Fix spacing in *Help* buttons * lisp/help-mode.el (help-xref--navigation-buttons): Fix spacing before single [forward] button. --- diff --git a/lisp/help-mode.el b/lisp/help-mode.el index d8d76114f58..f49d20270cf 100644 --- a/lisp/help-mode.el +++ b/lisp/help-mode.el @@ -678,9 +678,10 @@ that." (defun help-xref--navigation-buttons () (let ((inhibit-read-only t)) + (when (or help-xref-stack help-xref-forward-stack) + (ensure-empty-lines 1)) ;; Make a back-reference in this buffer if appropriate. (when help-xref-stack - (ensure-empty-lines 1) (help-insert-xref-button help-back-label 'help-back (current-buffer))) ;; Make a forward-reference in this buffer if appropriate.