diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-07-22 22:43:38 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-07-22 22:43:38 +0200 |
commit | dd902c43f3a30baf614986b8126eb30f1e8c6163 (patch) | |
tree | 8f4d7dbde43b365c6e3ce2b189f1eb0133685b94 /lisp/help-mode.el | |
parent | 963c8c35c3043aa6f20862b4eb9273587839f77a (diff) | |
download | emacs-dd902c43f3a30baf614986b8126eb30f1e8c6163.tar.gz |
Fix spacing in *Help* buttons
* lisp/help-mode.el (help-xref--navigation-buttons): Fix spacing
before single [forward] button.
Diffstat (limited to 'lisp/help-mode.el')
-rw-r--r-- | lisp/help-mode.el | 3 |
1 files changed, 2 insertions, 1 deletions
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. |