From: Richard M. Stallman Date: Fri, 27 Feb 1998 23:30:11 +0000 (+0000) Subject: (info): Always switch to buffer *info* even if X-Git-Tag: emacs-20.3~2071 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f21fef3c9f16d6d4f218d688d5be92b884b91291;p=emacs.git (info): Always switch to buffer *info* even if current buffer is in Info mode. --- diff --git a/lisp/info.el b/lisp/info.el index 0deb67c8b59..a50b0c09112 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -286,11 +286,10 @@ The top-level Info directory is made by combining all the files named `dir' in all the directories in that path." (interactive (if current-prefix-arg (list (read-file-name "Info file name: " nil nil t)))) + (pop-to-buffer "*info*") (if file (Info-goto-node (concat "(" file ")")) - (if (get-buffer "*info*") - (pop-to-buffer "*info*") - (Info-directory)))) + (Info-directory))) ;;;###autoload (defun info-standalone ()