diff lisp/utils/crontab.el @ 173:8eaf7971accc r20-3b13

Import from CVS: tag r20-3b13
author cvs
date Mon, 13 Aug 2007 09:49:09 +0200
parents 0293115a14e9
children 2d532a89d707
line wrap: on
line diff
--- a/lisp/utils/crontab.el	Mon Aug 13 09:47:55 2007 +0200
+++ b/lisp/utils/crontab.el	Mon Aug 13 09:49:09 2007 +0200
@@ -40,15 +40,26 @@
 
 ;;; Local Variables.  Define these to your liking.
 
-(defvar crontab-filename "~/.crontab"
-  "*The name of the file to store the User's Crontab.")
+(defgroup crontab nil
+  "Assist in editing crontab files."
+  :group 'languages)
+
+
+(defcustom crontab-filename "~/.crontab"
+  "*The name of the file to store the User's Crontab."
+  :type 'file
+  :group 'crontab)
 
-(defvar crontab-directory "/usr/spool/cron/crontabs"
-  "*The name of the directory in which crontab stores it's entries.")
+(defcustom crontab-directory "/usr/spool/cron/crontabs"
+  "*The name of the directory in which crontab stores it's entries."
+  :type 'file
+  :group 'crontab)
 
-(defvar crontab-use-local-file nil
+(defcustom crontab-use-local-file nil
   "*Non-nil means use file stored in User's Home directory, if it exists.
-Otherwise, always ask crontab for the current entry (maybe).")
+Otherwise, always ask crontab for the current entry (maybe)."
+  :type 'boolean
+  :group 'crontab)
 
 
 ;;; Interactive Function called to edit a Crontab Entry.  It is called