]> git.eshelyaron.com Git - emacs.git/commit
Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472)
authorMartin Rudalics <rudalics@gmx.at>
Wed, 20 May 2015 06:49:23 +0000 (08:49 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Wed, 20 May 2015 06:49:23 +0000 (08:49 +0200)
commit31d58d45249b3fb13a0a9a2c921f04cd9b42ff3f
treea5c2f1b4826b1e7f972c88d6b992ba3dfc9ef05b
parentf743819b57ef519109c1b9d520d358d19a197086
Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472)

* lisp/window.el (switch-to-buffer-in-dedicated-window): New option.
(switch-to-buffer): If the selected window is strongly dedicated
to its buffer, signal error before prompting for buffer name.  Handle
`switch-to-buffer-in-dedicated-window'.  (Bug#20472)
* doc/lispref/windows.texi (Switching Buffers): Document
`switch-to-buffer-in-dedicated-window'.
doc/lispref/windows.texi
etc/NEWS
lisp/window.el