]> git.eshelyaron.com Git - emacs.git/commit
Add FORCE-SAME-WINDOW argument to switch-to-buffer.
authorChong Yidong <cyd@stupidchicken.com>
Wed, 13 Jul 2011 22:00:48 +0000 (18:00 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 13 Jul 2011 22:00:48 +0000 (18:00 -0400)
commitbee0fcef3d9c332b9907369b4e6f6f61d6fbdf35
treef99c4d0a39a961e9f281c1825c43810d89157797
parent0f04b32ce1d0f6f6e94b77931122acf3da3b3680
Add FORCE-SAME-WINDOW argument to switch-to-buffer.

* lisp/window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.  Use
pop-to-buffer buffer-or-name if it is nil.

* lisp/emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
Remove switch-to-buffer.
etc/NEWS
lisp/ChangeLog
lisp/emacs-lisp/bytecomp.el
lisp/window.el