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

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

[elpa] externals/which-key 2b10b8e 50/51: Remove use of focus-{in, out}-


From: Stefan Monnier
Subject: [elpa] externals/which-key 2b10b8e 50/51: Remove use of focus-{in, out}-hook
Date: Tue, 8 Sep 2020 10:26:22 -0400 (EDT)

branch: externals/which-key
commit 2b10b8e77dc53f4d88191ac6e6675ecf1f1ccc63
Author: Justin Burkett <justin@burkett.cc>
Commit: Justin Burkett <justin@burkett.cc>

    Remove use of focus-{in,out}-hook
    
    Fix #259 #260 #262
---
 which-key.el | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/which-key.el b/which-key.el
index 6eb8e35..c08cfd8 100644
--- a/which-key.el
+++ b/which-key.el
@@ -815,8 +815,6 @@ problems at github. If DISABLE is non-nil disable support."
         (when which-key-show-remaining-keys
           (add-hook 'pre-command-hook #'which-key--lighter-restore))
         (add-hook 'pre-command-hook #'which-key--hide-popup)
-        (add-hook 'focus-out-hook #'which-key--stop-timer)
-        (add-hook 'focus-in-hook #'which-key--start-timer)
         (add-hook 'window-size-change-functions
                   'which-key--hide-popup-on-frame-size-change)
         (which-key--start-timer))
@@ -826,8 +824,6 @@ problems at github. If DISABLE is non-nil disable support."
     (when which-key-show-remaining-keys
       (remove-hook 'pre-command-hook #'which-key--lighter-restore))
     (remove-hook 'pre-command-hook #'which-key--hide-popup)
-    (remove-hook 'focus-out-hook #'which-key--stop-timer)
-    (remove-hook 'focus-in-hook #'which-key--start-timer)
     (remove-hook 'window-size-change-functions
                  'which-key--hide-popup-on-frame-size-change)
     (which-key--stop-timer)))



reply via email to

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