Skip to content

Commit

Permalink
Update `golden-ratio-mode' work-around
Browse files Browse the repository at this point in the history
* lv.el (lv-window): Update.
(lv-message): Update.

Re #64.
  • Loading branch information
abo-abo committed Mar 6, 2015
1 parent 9623625 commit b840227
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lv.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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))
Expand Down

0 comments on commit b840227

Please sign in to comment.