aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib
diff options
context:
space:
mode:
authorSvend Sorensen <svend@ciffer.net>2014-04-25 11:23:43 -0700
committerSvend Sorensen <svend@ciffer.net>2014-05-04 21:20:46 -0700
commitd17f117dae1198dbe47cabef31c280478bbd8aee (patch)
tree3a568f0a3e6184b7ff0f94c952deb2c789eab123 /contrib
parentedit: pass local variable to trap function (diff)
downloadpassword-store-d17f117dae1198dbe47cabef31c280478bbd8aee.tar.xz
password-store-d17f117dae1198dbe47cabef31c280478bbd8aee.zip
Rename pass executable variable
Diffstat (limited to '')
-rw-r--r--contrib/emacs/password-store.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/emacs/password-store.el b/contrib/emacs/password-store.el
index f95c9c7..4733ddc 100644
--- a/contrib/emacs/password-store.el
+++ b/contrib/emacs/password-store.el
@@ -34,7 +34,7 @@
(require 'f)
(require 's)
-(defvar pass-executable
+(defvar password-store-executable
(executable-find "pass")
"Pass executable.")
@@ -53,7 +53,7 @@ failure."
(let ((exit-code
(apply 'call-process
(append
- (list pass-executable nil (current-buffer) nil)
+ (list password-store-executable nil (current-buffer) nil)
args))))
(if (zerop exit-code)
(buffer-string)
@@ -143,7 +143,7 @@ Default PASSWORD-LENGTH is `password-store-password-length'."
"Insert a new ENTRY containing PASSWORD."
(interactive (list (read-string "Password entry: ")
(read-passwd "Password: " t)))
- (message (s-chomp (shell-command-to-string (format "echo %s | %s insert -m -f %s" password pass-executable entry)))))
+ (message (s-chomp (shell-command-to-string (format "echo %s | %s insert -m -f %s" password password-store-executable entry)))))
;;;###autoload
(defun password-store-remove (entry)