aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-08-26 03:03:21 +0000
committerGlenn Morris2008-08-26 03:03:21 +0000
commit12b2a018abf1a07430ae2d17966aa273d4b9a7db (patch)
tree7e5f419900ff564fae3e9b3e745265c2a979b13a
parentd332a7a4ac8e6b98a051db21d5a41744e04eb14a (diff)
downloademacs-12b2a018abf1a07430ae2d17966aa273d4b9a7db.tar.gz
emacs-12b2a018abf1a07430ae2d17966aa273d4b9a7db.zip
Comments.
-rw-r--r--lisp/calendar/appt.el18
1 files changed, 9 insertions, 9 deletions
diff --git a/lisp/calendar/appt.el b/lisp/calendar/appt.el
index f61d7b48af5..d88951dba43 100644
--- a/lisp/calendar/appt.el
+++ b/lisp/calendar/appt.el
@@ -44,11 +44,11 @@
44;; documentation of that function. 44;; documentation of that function.
45;; 45;;
46;; Today's appointment list is initialized from the diary when this 46;; Today's appointment list is initialized from the diary when this
47;; package is activated. Additionally, the appointments list is 47;; package is activated. Additionally, the appointments list is
48;; recreated automatically at 12:01am for those who do not logout 48;; recreated automatically at 12:01am for those who do not logout
49;; every day or are programming late. It is also updated when the 49;; every day or are programming late. It is also updated when the
50;; `diary-file' is saved. Calling `appt-check' with an argument forces 50;; `diary-file' is saved. Calling `appt-check' with an argument (or
51;; a re-initialization at any time. 51;; re-enabling the package) forces a re-initialization at any time.
52;; 52;;
53;; In order to add or delete items from today's list, without 53;; In order to add or delete items from today's list, without
54;; changing the diary file, use `appt-add' and `appt-delete'. 54;; changing the diary file, use `appt-add' and `appt-delete'.
@@ -538,7 +538,7 @@ appointment package (if it is not already active)."
538 (delq elt appt-time-msg-list)))) 538 (delq elt appt-time-msg-list))))
539 (if diary-entries-list 539 (if diary-entries-list
540 ;; Cycle through the entry-list (diary-entries-list) 540 ;; Cycle through the entry-list (diary-entries-list)
541 ;; looking for entries beginning with a time. If the 541 ;; looking for entries beginning with a time. If the
542 ;; entry begins with a time, add it to the 542 ;; entry begins with a time, add it to the
543 ;; appt-time-msg-list. Then sort the list. 543 ;; appt-time-msg-list. Then sort the list.
544 (let ((entry-list diary-entries-list) 544 (let ((entry-list diary-entries-list)
@@ -632,13 +632,13 @@ This function is intended for use with `write-file-functions'."
632;; The display-time call was not necessary, AFAICS. 632;; The display-time call was not necessary, AFAICS.
633;; What was really needed was to add the hook and load this file. 633;; What was really needed was to add the hook and load this file.
634;; Calling (diary 0) once the hook had been added was in some sense a 634;; Calling (diary 0) once the hook had been added was in some sense a
635;; roundabout way of loading this file. This file used to have code at 635;; roundabout way of loading this file. This file used to have code at
636;; the top-level that set up the appt-timer and global-mode-string. 636;; the top-level that set up the appt-timer and global-mode-string.
637;; One way to maintain backwards compatibility would be to call 637;; One way to maintain backwards compatibility would be to call
638;; (appt-activate 1) at top-level. However, this goes against the 638;; (appt-activate 1) at top-level. However, this goes against the
639;; convention that just loading an Emacs package should not activate 639;; convention that just loading an Emacs package should not activate
640;; it. Instead, we make appt-make-list activate the package (after a 640;; it. Instead, we make appt-make-list activate the package (after a
641;; suggestion from rms). This means that one has to call diary in 641;; suggestion from rms). This means that one has to call diary in
642;; order to get it to work, but that is in line with the old (weird, 642;; order to get it to work, but that is in line with the old (weird,
643;; IMO) documented behavior for activating the package. 643;; IMO) documented behavior for activating the package.
644;; Actually, since (diary 0) does not run diary-hook, I don't think 644;; Actually, since (diary 0) does not run diary-hook, I don't think