Set EDITOR to emacsclient.

For magit.
This commit is contained in:
tastytea 2021-05-25 12:43:33 +02:00
parent ebe5d94b75
commit 708a00fe72
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 5 additions and 0 deletions

View File

@ -64,5 +64,10 @@ If t, run `whitespace-cleanup', `clang-format-buffer' and so on."
multiplier)))))
:hook (after-init . my/set-garbage-collection-threshold))
(use-package with-editor
:after (server)
:config (progn
(setenv (with-editor-locate-emacsclient))))
(provide 'basics/global-variables)
;;; global-variables.el ends here