branch: externals/olivetti
commit af1d719be0822cbf2bc6586b2ca5275937b48059
Author: Paul Rankin <p...@tilk.co>
Commit: Paul Rankin <p...@tilk.co>

    Revert "Using run-window-configuration-change-hook fn"
    
    This reverts commit 514bc461bcddfa438d17a42d887084f02d949814.
---
 olivetti.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/olivetti.el b/olivetti.el
index f2aafc7..d0273a3 100644
--- a/olivetti.el
+++ b/olivetti.el
@@ -127,7 +127,7 @@ hidden."
           (delete-selection-mode 1))
         (add-hook 'window-configuration-change-hook
                   'olivetti-set-environment nil t)
-        (run-window-configuration-change-hook))
+        (run-hooks 'window-configuration-change-hook))
     (olivetti-set-mode-line 'exit)
     (set-window-margins nil nil)
     (remove-hook 'window-configuration-change-hook

Reply via email to