commit e25114c4c09be5f055fd2784f420681488ef5df0 parent 8a491f16961dd120fed6a4e154d0ef9b5a4cae7b Author: Svend Sorensen <svend@ciffer.net> Date: Wed, 7 May 2014 15:14:37 -0700 Implement interactive rename function Diffstat:
M | contrib/emacs/password-store.el | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git 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)