# HG changeset patch # User Richard M. Stallman # Date 897717600 0 # Node ID 39efe6bebb4649a70fc1df48b2a1cf2cfd292a30 # Parent eec1f722bded87235b6b750572ecff0bb14c839a (info-other-window): New function. diff -r eec1f722bded -r 39efe6bebb46 lisp/info.el --- a/lisp/info.el Sat Jun 13 05:59:46 1998 +0000 +++ b/lisp/info.el Sat Jun 13 06:00:00 1998 +0000 @@ -274,6 +274,14 @@ (call-process-region (point-min) (point-max) decoder t t))) (insert-file-contents fullname visit)))) +;;;###autoload +(defun info-other-window (&optional file) + "Like `info' but show the Info buffer in another window." + (interactive (if current-prefix-arg + (list (read-file-name "Info file name: " nil nil t)))) + (let (same-window-buffer-names) + (info file))) + ;;;###autoload (add-hook 'same-window-buffer-names "*info*") ;;;###autoload