Optionally avoid that switching to previous or next buffer shows that buffer twice.
commitdcb6e7b38ab0a732c18bf80deacc803a03aeb85c
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)
tree019b49dc83df3700c25fb1cf0697b5f89829664a
parent4fb9a543142d6cdd7760e7bfcad186017fa57ead
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