(Info-find-node): Use pop-to-buffer.
authorRichard M. Stallman <rms@gnu.org>
Sat, 3 Aug 1996 21:27:03 +0000 (21:27 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 3 Aug 1996 21:27:03 +0000 (21:27 +0000)
lisp/info.el

index ead6ab9..28755da 100644 (file)
@@ -301,7 +301,7 @@ In standalone mode, \\<Info-mode-map>\\[Info-exit] exits Emacs itself."
            (cons (list Info-current-file Info-current-node (point))
                  Info-history)))
   ;; Go into info buffer.
-  (switch-to-buffer "*info*")
+  (pop-to-buffer "*info*")
   (buffer-disable-undo (current-buffer))
   (or (eq major-mode 'Info-mode)
       (Info-mode))