Fix spacing in *Help* buttons

* lisp/help-mode.el (help-xref--navigation-buttons): Fix spacing
before single [forward] button.
This commit is contained in:
Lars Ingebrigtsen 2022-07-22 22:43:38 +02:00
parent 963c8c35c3
commit dd902c43f3

View file

@ -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.