# HG changeset patch # User Martin Rudalics # Date 1182326310 0 # Node ID 802dc93432c12482fe0711e289d0374a033d9fb6 # Parent 713aece810cdcb617302222e9ec8e04fd6b1837b (help-make-xrefs): Adjust position of new forward button. diff -r 713aece810cd -r 802dc93432c1 lisp/help-mode.el --- a/lisp/help-mode.el Wed Jun 20 07:55:41 2007 +0000 +++ b/lisp/help-mode.el Wed Jun 20 07:58:30 2007 +0000 @@ -500,16 +500,19 @@ (while (and (not (bobp)) (bolp)) (delete-char -1)) (insert "\n") + (when (or help-xref-stack help-xref-forward-stack) + (insert "\n")) ;; Make a back-reference in this buffer if appropriate. (when help-xref-stack - (insert "\n") (help-insert-xref-button help-back-label 'help-back - (current-buffer)) - (insert "\t")) + (current-buffer))) ;; Make a forward-reference in this buffer if appropriate. (when help-xref-forward-stack + (when help-xref-stack + (insert "\t")) (help-insert-xref-button help-forward-label 'help-forward - (current-buffer)) + (current-buffer))) + (when (or help-xref-stack help-xref-forward-stack) (insert "\n"))) ;; View mode steals RET from us. (set (make-local-variable 'minor-mode-overriding-map-alist)