summaryrefslogtreecommitdiff
path: root/lisp/bs.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2011-06-26 21:52:37 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2011-06-26 21:52:37 -0400
commitc9d29fb8b5ce38c9fd7222f2309b068ee1bc72c1 (patch)
tree2dd46bda3ab2113d07bec1c09d5de7a3dd8b7ef7 /lisp/bs.el
parentd8e4b68b086e71d0429de73a88767fdb32e9a970 (diff)
downloademacs-c9d29fb8b5ce38c9fd7222f2309b068ee1bc72c1.tar.gz
* lisp/bs.el (bs-cycle-next): Complete last change.
Diffstat (limited to 'lisp/bs.el')
-rw-r--r--lisp/bs.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/bs.el b/lisp/bs.el
index 73f8d0bf52a..94fbd0e04f9 100644
--- a/lisp/bs.el
+++ b/lisp/bs.el
@@ -1212,10 +1212,9 @@ by buffer configuration `bs-cycle-configuration-name'."
bs--cycle-list)))
(next (car tupel))
(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
- (bury-buffer (current-buffer)))
+ ;; We don't want the frame iconified if the only window in the frame
+ ;; happens to be dedicated.
+ (bury-buffer (current-buffer))
(switch-to-buffer next)
(setq bs--cycle-list (append (cdr cycle-list)
(list (car cycle-list))))