diff options
| author | Stefan Monnier | 2007-07-27 20:00:05 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-07-27 20:00:05 +0000 |
| commit | 11361a8b9898df2f9e2054118434f59dd0f22b46 (patch) | |
| tree | d80e8515a9a0ce3a17eade440d6fa96bc30197df | |
| parent | ea682e944e0408e3c73f5ddf795dcede0740874e (diff) | |
| download | emacs-11361a8b9898df2f9e2054118434f59dd0f22b46.tar.gz emacs-11361a8b9898df2f9e2054118434f59dd0f22b46.zip | |
Don't wrap defvar within eval-when-compile.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/calendar/appt.el | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 09b584a9497..422d1936eea 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2007-07-27 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2007-07-27 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * calendar/appt.el: Don't wrap defvar within eval-when-compile. | ||
| 4 | |||
| 3 | * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right) | 5 | * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right) |
| 4 | (calendar-scroll-left-three-months) | 6 | (calendar-scroll-left-three-months) |
| 5 | (calendar-scroll-right-three-months): Clean up namespace. | 7 | (calendar-scroll-right-three-months): Clean up namespace. |
diff --git a/lisp/calendar/appt.el b/lisp/calendar/appt.el index 7f343f300dc..94df068b012 100644 --- a/lisp/calendar/appt.el +++ b/lisp/calendar/appt.el | |||
| @@ -531,9 +531,9 @@ The time should be in either 24 hour format or am/pm format." | |||
| 531 | (message ""))) | 531 | (message ""))) |
| 532 | 532 | ||
| 533 | 533 | ||
| 534 | (eval-when-compile (defvar number) | 534 | (defvar number) |
| 535 | (defvar original-date) | 535 | (defvar original-date) |
| 536 | (defvar diary-entries-list)) | 536 | (defvar diary-entries-list) |
| 537 | ;;;###autoload | 537 | ;;;###autoload |
| 538 | (defun appt-make-list () | 538 | (defun appt-make-list () |
| 539 | "Update the appointments list from today's diary buffer. | 539 | "Update the appointments list from today's diary buffer. |
| @@ -634,7 +634,7 @@ appointment package (if it is not already active)." | |||
| 634 | (defun appt-sort-list (appt-list) | 634 | (defun appt-sort-list (appt-list) |
| 635 | "Sort an appointment list, putting earlier items at the front. | 635 | "Sort an appointment list, putting earlier items at the front. |
| 636 | APPT-LIST is a list of the same format as `appt-time-msg-list'." | 636 | APPT-LIST is a list of the same format as `appt-time-msg-list'." |
| 637 | (sort appt-list (lambda (e1 e2) (< (caar e1) (caar e2))))) | 637 | (sort appt-list (lambda (e1 e2) (< (caar e1) (caar e2))))) |
| 638 | 638 | ||
| 639 | 639 | ||
| 640 | (defun appt-convert-time (time2conv) | 640 | (defun appt-convert-time (time2conv) |