From: Michael Orlitzky Date: Wed, 24 Jun 2020 17:05:40 +0000 (-0400) Subject: Revert "mode-hooks: unbind some keys for multi-term mode." X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=a57cb7f84a91da0cf8dff834ee8295560104a177;p=emacs.d.git Revert "mode-hooks: unbind some keys for multi-term mode." This reverts commit 74fe2a628b900ef949c5b35780c4e5710e4a1edd. It's all fun and games until you can't C-x C-b out of your multi-term buffer. --- diff --git a/mode-hooks.el b/mode-hooks.el index 30599e2..d2ca019 100644 --- a/mode-hooks.el +++ b/mode-hooks.el @@ -5,7 +5,6 @@ (load-library "css-mode-hooks") (load-library "js-mode-hooks") (load-library "haskell-mode-hooks") -(load-library "multi-term-hooks") (load-library "nxml-mode-hooks") (load-library "octave-mode-hooks") (load-library "python-mode-hooks") diff --git a/mode-hooks/multi-term-hooks.el b/mode-hooks/multi-term-hooks.el deleted file mode 100644 index 9b4f963..0000000 --- a/mode-hooks/multi-term-hooks.el +++ /dev/null @@ -1,11 +0,0 @@ -(defun mtm-hook() - ;; Pass through C-c, C-x, and M-x for emaception. - (delete "C-x" term-unbind-key-list) - (delete "C-c" term-unbind-key-list) - (delete "" term-unbind-key-list) - - ;; We don't need the special C-c C-c any afterwards. - (delete '("C-c C-c" . term-interrupt-subjob) term-bind-key-alist) -) - -(add-hook 'term-mode-hook (function mtm-hook))