Commit 7ca8fc42 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

lisp/bs.el (bs-cycle-next): Pass current buffer to `bury-buffer'.

Fixes: debbugs:8911
parent 7d2a1c5e
2011-06-26 Juanma Barranquero <>
* bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
avoid deleting the current window in some cases (bug#8911).
2011-06-26 Andreas Schwab <>
* emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
......@@ -1214,8 +1214,8 @@ by buffer configuration `bs-cycle-configuration-name'."
(cycle-list (cdr tupel)))
(unless (window-dedicated-p (selected-window))
;; We don't want the frame iconified if the only window in the frame
;; happens to be dedicated; let's get the error from switch-to-buffer
;; happens to be dedicated
(bury-buffer (current-buffer)))
(switch-to-buffer next)
(setq bs--cycle-list (append (cdr cycle-list)
(list (car cycle-list))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment