diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2011-07-13 18:00:48 -0400 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2011-07-13 18:00:48 -0400 |
commit | bee0fcef3d9c332b9907369b4e6f6f61d6fbdf35 (patch) | |
tree | f99c4d0a39a961e9f281c1825c43810d89157797 /etc | |
parent | 0f04b32ce1d0f6f6e94b77931122acf3da3b3680 (diff) | |
download | emacs-bee0fcef3d9c332b9907369b4e6f6f61d6fbdf35.tar.gz |
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.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -986,6 +986,15 @@ sc.el, x-menu.el, rnews.el, rnewspost.el * Lisp changes in Emacs 24.1 +** Window changes + +*** `switch-to-buffer' has a new optional argument FORCE-SAME-WINDOW, +which if non-nil requires the buffer to be displayed in the currently +selected window, signaling an error otherwise. If nil, another window +can be used, e.g. if the selected one is strongly dedicated. + +*** FIXME: buffer-display-alist changes + ** Completion *** New variable completion-extra-properties used to specify extra properties of the current completion: |