]> git.eshelyaron.com Git - emacs.git/commit
Fix display-buffer interactive spec, and fixes for pop-to-buffer*.
authorChong Yidong <cyd@stupidchicken.com>
Thu, 1 Sep 2011 17:04:30 +0000 (13:04 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Thu, 1 Sep 2011 17:04:30 +0000 (13:04 -0400)
commit437014c8adcd604bdec350015d89eab1d7c12ec2
tree0f99a4185c3a4be031f3ee75af62d88cea64aa66
parent6ed17f119f52dee3199a3efbdf8a92b93f5f8fd0
Fix display-buffer interactive spec, and fixes for pop-to-buffer*.

* lisp/window.el (display-buffer): Restore interactive spec.
(display-buffer-same-window, display-buffer-other-window): New
functions.
(pop-to-buffer-1): New function.  Use the above.
(pop-to-buffer, pop-to-buffer-same-window): Use it.
(pop-to-buffer-other-window, pop-to-buffer-other-frame): Deleted.

* lisp/view.el (view-buffer-other-window, view-buffer-other-frame):
Just use pop-to-buffer.
lisp/ChangeLog
lisp/view.el
lisp/window.el