Fix EDITOR variable setting.

This commit is contained in:
tastytea 2021-05-27 22:10:59 +02:00
parent 251dbbecf7
commit 5d6a895c7d
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 2 additions and 1 deletions

View File

@ -66,8 +66,9 @@ If t, run `whitespace-cleanup', `clang-format-buffer' and so on."
(use-package with-editor
:after (server)
:defer nil
:config (progn
(setenv (with-editor-locate-emacsclient))))
(setenv "EDITOR" (with-editor-locate-emacsclient))))
(provide 'basics/global-variables)
;;; global-variables.el ends here