diff options
author | Svend Sorensen <svend@ciffer.net> | 2014-04-25 11:23:43 -0700 |
---|---|---|
committer | Svend Sorensen <svend@ciffer.net> | 2014-05-04 21:20:46 -0700 |
commit | d17f117dae1198dbe47cabef31c280478bbd8aee (patch) | |
tree | 3a568f0a3e6184b7ff0f94c952deb2c789eab123 | |
parent | 8253fe2a2caed31c245be285d196ebd56590c5c3 (diff) |
Rename pass executable variable
-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 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) |