diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2011-06-26 13:23:23 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2011-06-26 13:23:23 +0200 |
commit | 7ca8fc42baeb89a0d5f84b6c8549fdf6f3d8d0e6 (patch) | |
tree | 9a6468be38d8d87ac00f2685160883b4ee4a6e8d /lisp/bs.el | |
parent | 7d2a1c5ef54c81ba041cb74ab29d8deae76c5dfd (diff) | |
download | emacs-7ca8fc42baeb89a0d5f84b6c8549fdf6f3d8d0e6.tar.gz |
lisp/bs.el (bs-cycle-next): Pass current buffer to `bury-buffer'.
Fixes: debbugs:8911
Diffstat (limited to 'lisp/bs.el')
-rw-r--r-- | lisp/bs.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/bs.el b/lisp/bs.el index 95dc371e57b..73f8d0bf52a 100644 --- a/lisp/bs.el +++ b/lisp/bs.el @@ -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 - (bury-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)))) |