branch: externals/hydra
commit e3beffdd804b87b20c87d7fb8e37d6eee2b0d763
Author: Stephen Bach <[email protected]>
Commit: Oleh Krehel <[email protected]>
lv.el (lv-window): Don't modify the buffer-list order
Fixes #356
Fixes #357
---
lv.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/lv.el b/lv.el
index 2fd1838e06..52fddffbb9 100644
--- a/lv.el
+++ b/lv.el
@@ -76,10 +76,11 @@ Only the background color is significant."
(select-window
(let ((ignore-window-parameters t))
(split-window
- (frame-root-window) -1 'below))))
+ (frame-root-window) -1 'below))
+ 'norecord))
(if (setq buf (get-buffer " *LV*"))
- (switch-to-buffer buf)
- (switch-to-buffer " *LV*")
+ (switch-to-buffer buf 'norecord)
+ (switch-to-buffer " *LV*" 'norecord)
(set-window-hscroll lv-wnd 0)
(setq window-size-fixed t)
(setq mode-line-format nil)
@@ -91,7 +92,7 @@ Only the background color is significant."
(set-window-dedicated-p lv-wnd t)
(set-window-parameter lv-wnd 'no-other-window t)
(run-hooks 'lv-window-hook))
- (select-window ori)))))
+ (select-window ori 'norecord)))))
(defvar golden-ratio-mode)