branch: externals/olivetti
commit 514bc461bcddfa438d17a42d887084f02d949814
Author: Paul Rankin <[email protected]>
Commit: Paul Rankin <[email protected]>
Using run-window-configuration-change-hook fn
---
olivetti.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/olivetti.el b/olivetti.el
index d0273a3..f2aafc7 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-hooks 'window-configuration-change-hook))
+ (run-window-configuration-change-hook))
(olivetti-set-mode-line 'exit)
(set-window-margins nil nil)
(remove-hook 'window-configuration-change-hook