branch: externals/ergoemacs-mode commit cd8f2fa8284803c72771af4782ca17cc46343d57 Author: Matthew Fidler <514778+mattfid...@users.noreply.github.com> Commit: Matthew Fidler <514778+mattfid...@users.noreply.github.com>
Make sure temporary disable is off when switching off term See #510 --- ergoemacs-cua.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ergoemacs-cua.el b/ergoemacs-cua.el index c8cf3b27ae..7d23aa06e5 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