Mercurial > emacs
changeset 14857:eb23eca2abf9
(switch-to-lisp): Sometimes turn on pop-up-frames.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 22 Mar 1996 14:13:07 +0000 |
parents | f64fa743c80f |
children | 0a88c1cc98ec |
files | lisp/progmodes/inf-lisp.el |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/inf-lisp.el Fri Mar 22 13:26:01 1996 +0000 +++ b/lisp/progmodes/inf-lisp.el Fri Mar 22 14:13:07 1996 +0000 @@ -361,7 +361,12 @@ With argument, positions cursor at end of buffer." (interactive "P") (if (get-buffer inferior-lisp-buffer) - (pop-to-buffer inferior-lisp-buffer) + (let ((pop-up-frames + ;; Be willing to use another frame + ;; that already has the window in it. + (or pop-up-frames + (get-buffer-window inferior-lisp-buffer t)))) + (pop-to-buffer inferior-lisp-buffer)) (error "No current inferior Lisp buffer")) (cond (eob-p (push-mark)