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

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

[elpa] externals/pulsar 25754e76c2 5/7: Correct (remove-hook 'window-sta


From: ELPA Syncer
Subject: [elpa] externals/pulsar 25754e76c2 5/7: Correct (remove-hook 'window-state-change-functions #'pulsar--pulse-on-window-change 'local)
Date: Sun, 17 Nov 2024 12:58:53 -0500 (EST)

branch: externals/pulsar
commit 25754e76c2b57a942c91319091be33a4dd10e35f
Author: shipmints <shipmints@gmail.com>
Commit: shipmints <shipmints@gmail.com>

    Correct (remove-hook 'window-state-change-functions 
#'pulsar--pulse-on-window-change 'local)
---
 pulsar.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pulsar.el b/pulsar.el
index 2eddb78abc..3c0a419d84 100644
--- a/pulsar.el
+++ b/pulsar.el
@@ -541,7 +541,7 @@ Also check `pulsar-global-mode'."
         (when pulsar-pulse-on-window-change
           (add-hook 'window-state-change-functions 
#'pulsar--pulse-on-window-change nil 'local)))
     (remove-hook 'post-command-hook #'pulsar--post-command-pulse 'local)
-    (remove-hook 'window-state-change-functions 
#'pulsar--pulse-on-window-change nil 'local)))
+    (remove-hook 'window-state-change-functions 
#'pulsar--pulse-on-window-change 'local)))
 
 (defun pulsar--on ()
   "Enable `pulsar-mode'."



reply via email to

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