diff options
| author | Chong Yidong | 2011-07-13 18:00:48 -0400 |
|---|---|---|
| committer | Chong Yidong | 2011-07-13 18:00:48 -0400 |
| commit | bee0fcef3d9c332b9907369b4e6f6f61d6fbdf35 (patch) | |
| tree | f99c4d0a39a961e9f281c1825c43810d89157797 /etc | |
| parent | 0f04b32ce1d0f6f6e94b77931122acf3da3b3680 (diff) | |
| download | emacs-bee0fcef3d9c332b9907369b4e6f6f61d6fbdf35.tar.gz emacs-bee0fcef3d9c332b9907369b4e6f6f61d6fbdf35.zip | |
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 | |||
| 986 | 986 | ||
| 987 | * Lisp changes in Emacs 24.1 | 987 | * Lisp changes in Emacs 24.1 |
| 988 | 988 | ||
| 989 | ** Window changes | ||
| 990 | |||
| 991 | *** `switch-to-buffer' has a new optional argument FORCE-SAME-WINDOW, | ||
| 992 | which if non-nil requires the buffer to be displayed in the currently | ||
| 993 | selected window, signaling an error otherwise. If nil, another window | ||
| 994 | can be used, e.g. if the selected one is strongly dedicated. | ||
| 995 | |||
| 996 | *** FIXME: buffer-display-alist changes | ||
| 997 | |||
| 989 | ** Completion | 998 | ** Completion |
| 990 | *** New variable completion-extra-properties used to specify extra properties | 999 | *** New variable completion-extra-properties used to specify extra properties |
| 991 | of the current completion: | 1000 | of the current completion: |