[Top][All Lists]

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

[elpa] externals/olivetti 40c64f9 131/134: Remove window-configuration-c

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

branch: externals/olivetti
commit 40c64f94414eb0e74267124f4a51cb5f78b2ded7
Author: Paul W. Rankin <address@hidden>
Commit: Paul W. Rankin <address@hidden>

    Remove window-configuration-change-hook
 olivetti.el | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/olivetti.el b/olivetti.el
index 10f6e5a..bc1d051 100644
--- a/olivetti.el
+++ b/olivetti.el
@@ -232,7 +232,6 @@ if it is an integer, and otherwise scale by 1."
      ((floatp height) (* n height))
      (t n))))
 (defun olivetti-safe-width (width window)
   "Parse WIDTH to a safe value for `olivetti-body-width' for WINDOW.
@@ -320,7 +319,6 @@ body width set with `olivetti-body-width'."
   (if olivetti-mode
         (dolist (hook '(post-command-hook
-                        window-configuration-change-hook
           (add-hook hook 'olivetti-set-environment t t))
         (add-hook 'change-major-mode-hook
@@ -331,7 +329,6 @@ body width set with `olivetti-body-width'."
         (unless olivetti--visual-line-mode (visual-line-mode 1))
     (dolist (hook '(post-command-hook
-                    window-configuration-change-hook
       (remove-hook hook 'olivetti-set-environment t))

reply via email to

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