diff lisp/utils/passwd.el @ 120:cca96a509cfe r20-1b12

Import from CVS: tag r20-1b12
author cvs
date Mon, 13 Aug 2007 09:25:29 +0200
parents 360340f9fd5f
children 43dd3413c7c7
line wrap: on
line diff
--- a/lisp/utils/passwd.el	Mon Aug 13 09:24:19 2007 +0200
+++ b/lisp/utils/passwd.el	Mon Aug 13 09:25:29 2007 +0200
@@ -37,14 +37,23 @@
 
 ;;; Code:
 
-(defvar passwd-invert-frame-when-keyboard-grabbed t
+(defgroup passwd nil
+  "Prompting for passwords semi-securely"
+  :group 'processes)
+
+
+(defcustom passwd-invert-frame-when-keyboard-grabbed t
   "*If non-nil swap the foreground and background colors of all faces.
 This is done while the keyboard is grabbed in order to give a visual
-clue that a grab is in effect.")
+clue that a grab is in effect."
+  :type 'boolean
+  :group 'passwd)
 
-(defvar passwd-echo ?.
+(defcustom passwd-echo ?.
   "*The character which should be echoed when typing a password,
-or nil, meaning echo nothing.")
+or nil, meaning echo nothing."
+  :type 'sexp
+  :group 'passwd)
 
 (defvar read-passwd-map
   (let ((i 0)