m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorSvend Sorensen <svend@svends.net>2017-08-29 16:33:22 -0700
committerSvend Sorensen <svend@svends.net>2017-08-29 16:33:45 -0700
commit65cead8c0fdb07ce3821f6b97bdcb32684d0c3f7 (patch)
tree7f4e30d33f4c5863692d53dead99fa2385b125b4 /contrib
parent04bea9e06009c4a073101bed8a251597002d13c3 (diff)
emacs: Release version 1.0.1 of Emacs package
Diffstat (limited to 'contrib')
-rw-r--r--contrib/emacs/CHANGELOG.md4
-rw-r--r--contrib/emacs/password-store.el11
2 files changed, 10 insertions, 5 deletions
diff --git a/contrib/emacs/CHANGELOG.md b/contrib/emacs/CHANGELOG.md
index 4c34f51..feb62c9 100644
--- a/contrib/emacs/CHANGELOG.md
+++ b/contrib/emacs/CHANGELOG.md
@@ -1,3 +1,7 @@
+# 1.0.1
+
+* (bugfix) Quote shell arguments in async call
+
# 1.0.0
* (feature) Call `pass edit` so that changes get committed to git
diff --git a/contrib/emacs/password-store.el b/contrib/emacs/password-store.el
index 02ff1b8..e31217c 100644
--- a/contrib/emacs/password-store.el
+++ b/contrib/emacs/password-store.el
@@ -3,7 +3,7 @@
;; Copyright (C) 2014-2017 Svend Sorensen <svend@svends.net>
;; Author: Svend Sorensen <svend@svends.net>
-;; Version: 1.0.0
+;; Version: 1.0.1
;; URL: https://www.passwordstore.org/
;; Package-Requires: ((emacs "24") (f "0.11.0") (s "1.9.0") (with-editor "2.5.11"))
;; Keywords: tools pass password password-store
@@ -228,10 +228,11 @@ Separate multiple IDs with spaces."
"Insert a new ENTRY containing PASSWORD."
(interactive (list (read-string "Password entry: ")
(read-passwd "Password: " t)))
- (message "%s" (shell-command-to-string (format "echo %s | %s insert -m -f %s"
- (shell-quote-argument password)
- password-store-executable
- (shell-quote-argument entry)))))
+ (message "%s" (shell-command-to-string
+ (format "echo %s | %s insert -m -f %s"
+ (shell-quote-argument password)
+ password-store-executable
+ (shell-quote-argument entry)))))
;;;###autoload
(defun password-store-generate (entry &optional password-length)