From f21fef3c9f16d6d4f218d688d5be92b884b91291 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 27 Feb 1998 23:30:11 +0000 Subject: [PATCH] (info): Always switch to buffer *info* even if current buffer is in Info mode. --- lisp/info.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 () -- 2.39.2