branch: externals/ergoemacs-mode
commit aa649b231a39e21875668aa72eaba3c375591a77
Author: Tina Russell <[email protected]>
Commit: Tina Russell <[email protected]>
Add hooks to ergoemacs-map-properties--modify-run-mode-hooks-excluded
Specifically, change-major-mode-hook after-change-major-mode-hook
---
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)