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

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

[elpa] externals/olivetti fc3b045 116/134: Readded window-configuration-


From: Stefan Monnier
Subject: [elpa] externals/olivetti fc3b045 116/134: Readded window-configuration-change-hook
Date: Thu, 25 Apr 2019 09:57:40 -0400 (EDT)

branch: externals/olivetti
commit fc3b045185b0f819236b719abbe9cf0f2e6d52a4
Author: Paul Rankin <address@hidden>
Commit: Paul Rankin <address@hidden>

    Readded window-configuration-change-hook
---
 olivetti.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/olivetti.el b/olivetti.el
index 1af0d6b..7488f39 100644
--- a/olivetti.el
+++ b/olivetti.el
@@ -375,6 +375,7 @@ hidden."
   (if olivetti-mode
       (progn
         (dolist (hook '(post-command-hook
+                        window-configuration-change-hook
                         window-size-change-functions))
           (add-hook hook 'olivetti-set-environment t t))
         (add-hook 'change-major-mode-hook
@@ -385,6 +386,7 @@ hidden."
         (unless olivetti--visual-line-mode (visual-line-mode 1))
         (olivetti-set-environment))
     (dolist (hook '(post-command-hook
+                    window-configuration-change-hook
                     window-size-change-functions))
       (remove-hook hook 'olivetti-set-environment t))
     (olivetti-reset-all-windows)



reply via email to

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