diff options
Diffstat (limited to 'lisp/with-editor.el')
| -rw-r--r-- | lisp/with-editor.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/with-editor.el b/lisp/with-editor.el index 990aae6..c68720c 100644 --- a/lisp/with-editor.el +++ b/lisp/with-editor.el @@ -511,8 +511,10 @@ at run-time. (server-start)) ;; Tell $EDITOR to use the Emacsclient. (push (concat with-editor--envvar "=" - (replace-regexp-in-string - "\s" "\\\\\\&" with-editor-emacsclient-executable) + ;; Quoting is the right thing to do. Applications that + ;; fail because of that, are the ones that need fixing, + ;; e.g., by using 'eval "$EDITOR" file'. See #121. + (shell-quote-argument with-editor-emacsclient-executable) ;; Tell the process where the server file is. (and (not server-use-tcp) (concat " --socket-name=" |
