]> git.eshelyaron.com Git - emacs.git/commitdiff
(inferior-lisp): Use pop-to-buffer.
authorRichard M. Stallman <rms@gnu.org>
Wed, 16 Aug 1995 14:41:11 +0000 (14:41 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 16 Aug 1995 14:41:11 +0000 (14:41 +0000)
Add *inferior-lisp* to same-window-buffer-names.

lisp/progmodes/inf-lisp.el

index 4fa4009614a3f7cef12a61d4dd9c0a0f3706892b..9e462ee45b9bfd66a137d111d718cc3c6ad09fee 100644 (file)
@@ -283,7 +283,8 @@ of `inferior-lisp-program').  Runs the hooks from
                           "inferior-lisp" (car cmdlist) nil (cdr cmdlist)))
        (inferior-lisp-mode)))
   (setq inferior-lisp-buffer "*inferior-lisp*")
-  (switch-to-buffer "*inferior-lisp*"))
+  (pop-to-buffer "*inferior-lisp*"))
+;;;###autoload (add-hook 'same-window-buffer-names "*inferior-lisp*")
 
 ;;;###autoload
 (defalias 'run-lisp 'inferior-lisp)