From 5d6a895c7d01bf2aa94913d722837d515f51a5cd Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 27 May 2021 22:10:59 +0200 Subject: [PATCH] Fix EDITOR variable setting. --- init.d/basics/global-variables.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.d/basics/global-variables.el b/init.d/basics/global-variables.el index 01e014d..d62c297 100644 --- a/init.d/basics/global-variables.el +++ b/init.d/basics/global-variables.el @@ -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