aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/emacs')
-rw-r--r--contrib/emacs/password-store.el7
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)