branch: externals/ergoemacs-mode
commit 7d3656541a00cc04ba4cefa31c0d127adb5a260a
Merge: cac7b56 aa649b2
Author: Matthew Fidler <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #481 from TinaRussell/exclude-more-hooks
Add hooks to ergoemacs-map-properties--modify-run-mode-hooks-excluded
---
ergoemacs-map-properties.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ergoemacs-map-properties.el b/ergoemacs-map-properties.el
index f2d7e23..6793600 100644
--- a/ergoemacs-map-properties.el
+++ b/ergoemacs-map-properties.el
@@ -438,7 +438,8 @@ Save information about what HOOK is running function FN."
(defvar ergoemacs-map-properties--modify-run-mode-hooks-excluded
- '(font-lock-mode-hook emojify-emojify-mode-line mu4e-update-mail-and-index)
+ '(font-lock-mode-hook emojify-emojify-mode-line mu4e-update-mail-and-index
+ change-major-mode-hook after-change-major-mode-hook)
"List of hooks where keymaps should not be modified.")
(defun ergoemacs-map-properties--modify-run-mode-hooks-p (hook)