Commit ea8fb88d authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

lisp/bs.el: Fix bug#10882

* bs.el (bs--show-with-configuration): Don't throw an error
  if the window cannot be split; otherwise, subsequent calls
  to bs-show fail, restoring a stale window config.
parent 7e05b1ec
2012-02-25 Juanma Barranquero <lekktu@gmail.com>
* bs.el (bs--show-with-configuration): Don't throw an error
if the window cannot be split; otherwise, subsequent calls to
bs-show fail, restoring a stale window config. (Bug#10882)
2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
* term/ns-win.el (global-map): Bind ns-drag-file to
......
......@@ -1414,7 +1414,8 @@ for buffer selection."
(bs--restore-window-config)
(setq bs--window-config-coming-from (current-window-configuration))
(when (> (window-height (selected-window)) 7)
(select-window (split-window-below))))
;; Errors would mess with the window configuration (bug#10882).
(ignore-errors (select-window (split-window-below)))))
(bs-show-in-buffer liste)
(bs-message-without-log "%s" (bs--current-config-message)))))
......
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