[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/with-editor 84ba06ed51: Reduce quoting used for with-edito
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/with-editor 84ba06ed51: Reduce quoting used for with-editor-emacsclient-executable |
Date: |
Sun, 8 Jan 2023 09:00:03 -0500 (EST) |
branch: elpa/with-editor
commit 84ba06ed513e97223630905f4788370e18116f40
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Reduce quoting used for with-editor-emacsclient-executable
Only quote whitespace instead of using `shell-quote-argument'.
Closes #119.
---
lisp/with-editor.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/with-editor.el b/lisp/with-editor.el
index bdc122995f..299e263aef 100644
--- a/lisp/with-editor.el
+++ b/lisp/with-editor.el
@@ -508,7 +508,8 @@ at run-time.
(server-start))
;; Tell $EDITOR to use the Emacsclient.
(push (concat with-editor--envvar "="
- (shell-quote-argument with-editor-emacsclient-executable)
+ (replace-regexp-in-string
+ "\s" "\\\\\\&" with-editor-emacsclient-executable)
;; Tell the process where the server file is.
(and (not server-use-tcp)
(concat " --socket-name="
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/with-editor 84ba06ed51: Reduce quoting used for with-editor-emacsclient-executable,
ELPA Syncer <=