changeset 12868:8c777db02099

(inferior-lisp): Use pop-to-buffer. Add *inferior-lisp* to same-window-buffer-names.
author Richard M. Stallman <rms@gnu.org>
date Wed, 16 Aug 1995 14:41:11 +0000
parents 26e4b5392530
children 2304fcfade47
files lisp/progmodes/inf-lisp.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/inf-lisp.el	Wed Aug 16 14:39:29 1995 +0000
+++ b/lisp/progmodes/inf-lisp.el	Wed Aug 16 14:41:11 1995 +0000
@@ -283,7 +283,8 @@
 			   "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)