diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index e7fb8cb..9d69c46 100755 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -1585,10 +1585,11 @@ Open files in Git forges (GitHub, GitLab, etc.): A utility from the author of Magit to run shell commands using the current Emacs instance as $EDITOR. #+BEGIN_SRC emacs-lisp - (shell-command-with-editor-mode) - (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) + (with-eval-after-load 'with-editor + (shell-command-with-editor-mode) + (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 * Password Store