branch: externals/ergoemacs-mode
commit a75a33852e375d8919fa1cc8c3ad52634a783293
Author: Fidler <[email protected]>
Commit: Fidler <[email protected]>
Add ergoemacs start prefix correctly
---
ergoemacs-command-loop.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ergoemacs-command-loop.el b/ergoemacs-command-loop.el
index 5aa9301..5f3ee1d 100644
--- a/ergoemacs-command-loop.el
+++ b/ergoemacs-command-loop.el
@@ -1150,7 +1150,9 @@ is the :full command loop."
ergoemacs-command-loop--single-command-keys
(this-single-command-keys))
(ergoemacs-command-loop ergoemacs-command-loop--single-command-keys)))
-(add-hook 'ergoemacs-mode-startup-hook
#'ergoemacs-command-loop--start-for-prefix)
+(add-hook 'ergoemacs-mode-startup-hook #'ergoemacs-command-loop--prefix-timer)
+(add-hook 'ergoemacs-mode-shutdown-hook
#'ergoemacs-command-loop--stop-prefix-timer)
+
(defun ergoemacs-command-loop--start-with-pre-command-hook ()
"Start ergoemacs command loop.