diff options
author | Svend Sorensen <svend@svends.net> | 2019-04-25 19:38:46 -0700 |
---|---|---|
committer | Svend Sorensen <svend@svends.net> | 2019-04-25 19:42:57 -0700 |
commit | 0ee5ab3c5267faeafe6f95271ad7d5c59e15c90f (patch) | |
tree | 2debe6bca889cb34a20a79b679a63816a2abc48d /contrib/emacs/password-store.el | |
parent | 5c9f614cc43c963a49b695abef8cb9be3f146e85 (diff) | |
download | pass-0ee5ab3c5267faeafe6f95271ad7d5c59e15c90f.tar.gz pass-0ee5ab3c5267faeafe6f95271ad7d5c59e15c90f.tar.bz2 pass-0ee5ab3c5267faeafe6f95271ad7d5c59e15c90f.zip |
emacs: Drop nil command arguments
Drop nil arguments in `password-store--run` and `password-store--run-1`. This
fixes an error running `password-store-generate`.
Diffstat (limited to 'contrib/emacs/password-store.el')
-rw-r--r-- | contrib/emacs/password-store.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/emacs/password-store.el b/contrib/emacs/password-store.el index 27c168a..0ad21ff 100644 --- a/contrib/emacs/password-store.el +++ b/contrib/emacs/password-store.el @@ -3,7 +3,7 @@ ;; Copyright (C) 2014-2018 Svend Sorensen <svend@svends.net> ;; Author: Svend Sorensen <svend@svends.net> -;; Version: 2.0.0 +;; Version: 2.0.1 ;; URL: https://www.passwordstore.org/ ;; Package-Requires: ((emacs "25") (f "0.11.0") (s "1.9.0") (with-editor "2.5.11")) ;; Keywords: tools pass password password-store @@ -67,7 +67,7 @@ or outputs error message on failure." (let ((output "")) (make-process :name "password-store-gpg" - :command (cons password-store-executable args) + :command (cons password-store-executable (delq nil args)) :connection-type 'pipe :noquery t :filter (lambda (process text) @@ -88,7 +88,7 @@ outputs error message on failure." (slept-for 0)) (apply #'password-store--run-1 (lambda (password) (setq output password)) - args) + (delq nil args)) (while (not output) (sleep-for .1)) output)) |