From 65cead8c0fdb07ce3821f6b97bdcb32684d0c3f7 Mon Sep 17 00:00:00 2001 From: Svend Sorensen Date: Tue, 29 Aug 2017 16:33:22 -0700 Subject: emacs: Release version 1.0.1 of Emacs package --- contrib/emacs/CHANGELOG.md | 4 ++++ contrib/emacs/password-store.el | 11 ++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) (limited to 'contrib/emacs') 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 ;; Author: Svend Sorensen -;; 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) -- cgit v1.2.3