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

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

[elpa] master b840227 03/28: Update `golden-ratio-mode' work-around


From: Oleh Krehel
Subject: [elpa] master b840227 03/28: Update `golden-ratio-mode' work-around
Date: Sun, 22 Mar 2015 16:34:38 +0000

branch: master
commit b84022740870f2b256c946d6200d01f4a7447f02
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    Update `golden-ratio-mode' work-around
    
    * lv.el (lv-window): Update.
    (lv-message): Update.
    
    Re #64.
---
 lv.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lv.el b/lv.el
index 7b19074..bb47175 100644
--- a/lv.el
+++ b/lv.el
@@ -41,7 +41,6 @@
   (if (window-live-p lv-wnd)
       lv-wnd
     (let ((ori (selected-window))
-          (golden-ratio-mode nil)
           buf)
       (prog1 (setq lv-wnd
                    (select-window
@@ -61,7 +60,8 @@
   "Set LV window contents to (`format' FORMAT-STRING ARGS)."
   (let ((ori (selected-window))
         (str (apply #'format format-string args))
-        deactivate-mark)
+        deactivate-mark
+        golden-ratio-mode)
     (select-window (lv-window))
     (unless (string= (buffer-string) str)
       (delete-region (point-min) (point-max))



reply via email to

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