changeset 93948:a90650368da6

Require diary-lib rather than calendar. (appt): Add :prefix.
author Glenn Morris <rgm@gnu.org>
date Thu, 10 Apr 2008 03:43:52 +0000
parents 6819f30b721b
children 1f90229f007f
files lisp/calendar/appt.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/appt.el	Thu Apr 10 03:41:41 2008 +0000
+++ b/lisp/calendar/appt.el	Thu Apr 10 03:43:52 2008 +0000
@@ -75,12 +75,12 @@
 
 ;;; Code:
 
-;; Make sure calendar is loaded when we compile this.
-(require 'calendar)
+(require 'diary-lib)
 
 
 (defgroup appt nil
   "Appointment notification."
+  :prefix "appt-"
   :group 'calendar)
 
 (defcustom appt-issue-message t
@@ -504,6 +504,7 @@
 (defvar number)
 (defvar original-date)
 (defvar diary-entries-list)
+;; Autoload for the old way of using this package.  Can be removed sometime.
 ;;;###autoload
 (defun appt-make-list ()
   "Update the appointments list from today's diary buffer.