emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/hydra e3beffdd80 17/35: lv.el (lv-window): Don't modify


From: ELPA Syncer
Subject: [elpa] externals/hydra e3beffdd80 17/35: lv.el (lv-window): Don't modify the buffer-list order
Date: Tue, 25 Oct 2022 22:59:05 -0400 (EDT)

branch: externals/hydra
commit e3beffdd804b87b20c87d7fb8e37d6eee2b0d763
Author: Stephen Bach <github@sjbach.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>

    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)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]