summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--contrib/emacs/password-store.el13
1 files changed, 10 insertions, 3 deletions
diff --git a/contrib/emacs/password-store.el b/contrib/emacs/password-store.el
index 3d5eee4..035cc08 100644
--- a/contrib/emacs/password-store.el
+++ b/contrib/emacs/password-store.el
@@ -34,13 +34,20 @@
(require 'f)
(require 's)
+(defgroup password-store '()
+ "Emacs mode for password-store."
+ :prefix "password-store-"
+ :group 'password-store)
+
+(defcustom password-store-password-length 8
+ "Default password length."
+ :group 'password-store
+ :type 'number)
+
(defvar password-store-executable
(executable-find "pass")
"Pass executable.")
-(defconst password-store-password-length 8
- "Default password length.")
-
(defun password-store-timeout ()
"Number of seconds to wait before clearing the password."
(if (getenv "PASSWORD_STORE_CLIP_TIME")