Commit 77052f4b authored by Kelly Dean's avatar Kelly Dean Committed by Artur Malabarba
Browse files

* help-mode.el: Prevent duplicated display of Info buffer. (Bug#13190)

parent cec04fb2
2015-02-16 Kelly Dean <kelly@prtime.org>
* 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 <fgallina@gnu.org>
 
python.el: Do not deactivate mark on shell fontification. (Bug#19871)
......
......@@ -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 ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment