m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/emacs/password-store.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/emacs/password-store.el b/contrib/emacs/password-store.el
index 879eb2f..02ff1b8 100644
--- a/contrib/emacs/password-store.el
+++ b/contrib/emacs/password-store.el
@@ -83,10 +83,11 @@ outputs error message on failure."
"Run pass asynchronously with ARGS.
Nil arguments are ignored."
- (with-editor-async-shell-command
- (mapconcat 'identity
- (cons password-store-executable
- (delq nil args)) " ")))
+ (let ((args (mapcar #'shell-quote-argument args)))
+ (with-editor-async-shell-command
+ (mapconcat 'identity
+ (cons password-store-executable
+ (delq nil args)) " "))))
(defun password-store--run-init (gpg-ids &optional folder)
(apply 'password-store--run "init"