summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Fidler <514778+mattfidler@users.noreply.github.com>2021-11-03 18:52:19 -0500
committerMatthew Fidler <514778+mattfidler@users.noreply.github.com>2021-11-03 18:52:19 -0500
commitcd8f2fa8284803c72771af4782ca17cc46343d57 (patch)
tree6c8ba83ce1d064d2a6e02570504f77c292181a26
parentd8d4d309db28259fa6dac7f66c88bc2d2dfe6dfa (diff)
Make sure temporary disable is off when switching off term
See #510
-rw-r--r--ergoemacs-cua.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/ergoemacs-cua.el b/ergoemacs-cua.el
index c8cf3b2..7d23aa0 100644
--- a/ergoemacs-cua.el
+++ b/ergoemacs-cua.el
@@ -134,7 +134,8 @@ This override is enabled for active regions before the copy and paste are enable
(when ergeoemacs-mode-term-raw-mode
(setq ergeoemacs-mode-term-raw-mode nil
ergoemacs-mode-regular t
- ergoemacs-mode-send-emacs-keys ergoemacs-send-keys-term))
+ ergoemacs-mode-send-emacs-keys ergoemacs-send-keys-term
+ ergoemacs--temporary-disable nil))
(when ergoemacs--temporary-disable
;; The temporary disable commands set `ergoemacs--temporary-disable' to t
;; The first time when the keys are put on the `unread-command-events', `ergoemacs-mode' is disabled