branch: elpa/golden-ratio
commit d4a2dd0aeb650b70312183cb8056d993aa067dd8
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
* golden-ratio.el (golden-ratio-mode): Issue #34 remove
mouse-leave-buffer-hook when mode is off.
---
golden-ratio.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/golden-ratio.el b/golden-ratio.el
index c5bd4ba36f..495c961ea8 100644
--- a/golden-ratio.el
+++ b/golden-ratio.el
@@ -140,6 +140,7 @@ will not cause the window to be resized to the golden
ratio."
(ad-activate 'pop-to-buffer))
(remove-hook 'window-configuration-change-hook 'golden-ratio)
(remove-hook 'post-command-hook 'golden-ratio--post-command-hook)
+ (remove-hook 'mouse-leave-buffer-hook
'golden-ratio--mouse-leave-buffer-hook)
(ad-deactivate 'other-window)
(ad-deactivate 'pop-to-buffer)))