]> code.delx.au - gnu-emacs-elpa/commitdiff
lv-window: split-window ignores window parameters
authorJan Tatarik <jan.tatarik@gmail.com>
Tue, 19 May 2015 20:46:54 +0000 (22:46 +0200)
committerJan Tatarik <jan.tatarik@gmail.com>
Tue, 19 May 2015 20:46:54 +0000 (22:46 +0200)
fix lv-window failure in presence of a bottom window with
no-other-window window parameter set to t

lv.el

diff --git a/lv.el b/lv.el
index e4425a2dce87f3ca7d373f588f3bbb89d8831ad0..8d6192f761d9bfc90e4d6a72f878cfcf029a3f58 100644 (file)
--- a/lv.el
+++ b/lv.el
@@ -62,8 +62,9 @@ Only the background color is significant."
           buf)
       (prog1 (setq lv-wnd
                    (select-window
-                    (split-window
-                     (frame-root-window) -1 'below)))
+                    (let ((ignore-window-parameters t))
+                      (split-window
+                       (frame-root-window) -1 'below))))
         (if (setq buf (get-buffer "*LV*"))
             (switch-to-buffer buf)
           (switch-to-buffer "*LV*")