From 77052f4baa974802021197536f7f5004f471fc48 Mon Sep 17 00:00:00 2001 From: Kelly Dean Date: Mon, 16 Feb 2015 04:17:09 +0000 Subject: [PATCH] * help-mode.el: Prevent duplicated display of Info buffer. (Bug#13190) --- lisp/ChangeLog | 5 +++++ lisp/help-mode.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 43cffffcb36..4200a7b7dda 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 564362a0c43..b8b129dbc4a 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 () -- 2.39.2