Commit 6469b7c8 authored by Jonas Bernoulli's avatar Jonas Bernoulli

magit-with-editor: Use new with-editor* macro

Unlike `with-editor' this macro does not allow omitting the ENVVAR
argument before the BODY and it does evaluate ENVVAR at run-time,
which is what we need here.

Fixes #3632.
parent 2279960b
......@@ -110,7 +110,7 @@ DASH_MELPA_SNAPSHOT = 20180413
GHUB_MELPA_SNAPSHOT = 20180417
GIT_COMMIT_MELPA_SNAPSHOT = 20180602
MAGIT_POPUP_MELPA_SNAPSHOT = 20180509
WITH_EDITOR_MELPA_SNAPSHOT = 20180414
WITH_EDITOR_MELPA_SNAPSHOT = 20181026
EMACS_VERSION = 25.1
......
......@@ -238,7 +238,7 @@ Also respect the value of `magit-with-editor-envvar'."
(not magit-cygwin-mount-points))
"cmdproxy"
shell-file-name)))
(with-editor magit-with-editor-envvar
(with-editor* magit-with-editor-envvar
,@body)))
(defun magit-process-git-arguments (args)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment