From: Kelly Dean Date: Mon, 16 Feb 2015 04:17:09 +0000 (+0000) Subject: * help-mode.el: Prevent duplicated display of Info buffer. (Bug#13190) X-Git-Tag: emacs-25.0.90~2564^2~364 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/77052f4baa974802021197536f7f5004f471fc48 * help-mode.el: Prevent duplicated display of Info buffer. (Bug#13190) --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 43cffffcb3..4200a7b7dd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2015-02-16 Kelly Dean + + * help-mode.el (help-do-xref): Prevent duplicated display of Info + buffer, and prevent interference with existing buffer. (Bug#13190) + 2015-02-16 Fabián Ezequiel Gallina python.el: Do not deactivate mark on shell fontification. (Bug#19871) diff --git a/lisp/help-mode.el b/lisp/help-mode.el index 564362a0c4..b8b129dbc4 100644 --- a/lisp/help-mode.el +++ b/lisp/help-mode.el @@ -739,7 +739,8 @@ Things are set up properly so that the resulting help-buffer has a proper [back] button." ;; There is a reference at point. Follow it. (let ((help-xref-following t)) - (apply function args))) + (apply function (if (eq function 'info) + (append args (list (generate-new-buffer-name "*info*"))) args)))) ;; The doc string is meant to explain what buttons do. (defun help-follow-mouse ()