emacs: Enable with-editor in terminals

This commit is contained in:
2020-07-05 13:28:55 -07:00
parent 3bf68359f0
commit 16d4000a6a

View File

@@ -229,7 +229,10 @@ Install magit, the emacs porcelain for git.
(use-package magit (use-package magit
:custom (magit-bury-buffer-function 'magit-mode-quit-window)) :custom (magit-bury-buffer-function 'magit-mode-quit-window))
(use-package with-editor) (use-package with-editor
:init (add-hook 'shell-mode-hook 'with-editor-export-editor)
(add-hook 'term-exec-hook 'with-editor-export-editor)
(add-hook 'eshell-mode-hook 'with-editor-export-editor))
#+END_SRC #+END_SRC
*** Terminals (=multi-Term=) *** Terminals (=multi-Term=)