diff options
author | Svend Sorensen <svend@ciffer.net> | 2014-05-07 15:14:37 -0700 |
---|---|---|
committer | Svend Sorensen <svend@ciffer.net> | 2014-05-07 15:55:11 -0700 |
commit | e25114c4c09be5f055fd2784f420681488ef5df0 (patch) | |
tree | dcd45634b131a37f142ad26e1d75b1f610e47f4d /contrib/emacs | |
parent | 8a491f16961dd120fed6a4e154d0ef9b5a4cae7b (diff) |
Implement interactive rename function
Diffstat (limited to 'contrib/emacs')
-rw-r--r-- | contrib/emacs/password-store.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/emacs/password-store.el b/contrib/emacs/password-store.el index 25556d2..60db318 100644 --- a/contrib/emacs/password-store.el +++ b/contrib/emacs/password-store.el @@ -213,6 +213,13 @@ Default PASSWORD-LENGTH is `password-store-password-length'." (message (password-store--run-remove entry t))) ;;;###autoload +(defun password-store-rename (entry new-entry) + "Rename ENTRY to NEW-ENTRY." + (interactive (list (password-store--completing-read) + (read-string "Rename entry to: "))) + (message (password-store--run-rename entry new-entry t))) + +;;;###autoload (defun password-store-version () "Show version of pass executable." (interactive) |