branch: externals/ergoemacs-mode
commit 46c76c0037aace01a99258e2fa7d7af591cf1ecf
Author: Walter Landry <[email protected]>
Commit: Walter Landry <[email protected]>
Remove a little modal
---
ergoemacs-advice.el | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/ergoemacs-advice.el b/ergoemacs-advice.el
index e2320d3..7cfd3ad 100644
--- a/ergoemacs-advice.el
+++ b/ergoemacs-advice.el
@@ -330,10 +330,7 @@ TYPE is the type of translation installed."
(type (or type :normal))
(translation (ergoemacs-translate--get type))
(local-keymap (ergoemacs-translate--keymap translation))
- (local-key (substring keys -1))
- modal-p)
- (when (setq modal-p (ergoemacs :modal-p))
- (setq local-keymap (ergoemacs-translation-struct-keymap-modal modal-p)))
+ (local-key (substring keys -1)))
(if (lookup-key local-keymap local-key)
(let ((i 1)) ;; Setup history
(setq ergoemacs-command-loop--history nil)