Optionally avoid that switching to previous or next buffer shows that buffer twice.
commit077f78e41dffd64077a1e89ced18c0edb686603b
authormartin rudalics <rudalics@gmx.at>
Tue, 27 Mar 2012 09:22:01 +0000 (27 11:22 +0200)
committermartin rudalics <rudalics@gmx.at>
Tue, 27 Mar 2012 09:22:01 +0000 (27 11:22 +0200)
tree1bedc7b58ea52fe16f0693d68515371ba17546d1
parenta16def42025afe1477de6117a1cb4ee15cd1bde9
Optionally avoid that switching to previous or next buffer shows that buffer twice.

* window.el (switch-to-visible-buffer): New option.
(switch-to-prev-buffer, switch-to-next-buffer): Observe
switch-to-visible-buffer.  Make sure that checking for a window
showing a buffer already is done on the same frame.

* windows.texi (Window History): Describe new option
switch-to-visible-buffer.
doc/lispref/ChangeLog
doc/lispref/windows.texi
lisp/ChangeLog
lisp/window.el