1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 15:52:00 -08:00
Commit graph

1325 commits

Author SHA1 Message Date
Glenn Morris
f2268dc056 (holiday-rosh-hashanah-etc, holiday-passover-etc, holiday-hanukkah):
Doc fix.  Add optional argument.  Simplify.
(holiday-tisha-b-av-etc): Use memq rather than unless.
(holiday-julian): Autoload it.
(holiday-hebrew-misc): New function.
2008-04-03 04:06:48 +00:00
Glenn Morris
df7c034e8a (holiday-fixed): Autoload it.
(holiday-bahai-new-year, holiday-bahai-ridvan): New functions.
2008-04-03 04:05:56 +00:00
Glenn Morris
7cd59c7337 (diary-mail-addr): Use bound-and-true-p. 2008-04-03 03:33:37 +00:00
Glenn Morris
debf91fda6 Whitespace only. 2008-04-02 03:52:36 +00:00
Glenn Morris
ce5b3019bf (appt-disp-window-function): Doc fix.
(appt-display-message): Move beep before display.
(appt-check): Make interactive.  Reduce the number of lets.
Use string-equal to compare mode-line strings.
(appt-disp-window): Pluralize "minute" as needed.  Make appt buffer read-only.
(appt-select-lowest-window, appt-make-list): Reduce the number of lets.
(appt-delete): Simplify.
2008-04-02 03:50:34 +00:00
Glenn Morris
2475d1a306 (diary-entry-marker, calendar-today-marker, calendar-holiday-marker)
(mark-visible-calendar-date): Check for font-lock-mode before using faces.
(hebrew-holidays-3, generate-calendar-month)
(calendar-gregorian-from-absolute): Reduce the number of lets.
(hebrew-holidays-4, generate-calendar-window): Simplify.
(calendar-for-loop): Make obsolete.
(calendar-nth-named-day): Doc fix.
2008-04-02 03:35:38 +00:00
Glenn Morris
2e73c671d1 (fancy-diary-display): Check for font-lock-mode before using faces.
(diary-list-entries, fancy-diary-display)
(print-diary-entries, mark-sexp-diary-entries, calendar-mark-complex)
(calendar-mark-1, list-sexp-diary-entries, diary-remind):
Reduce the number of lets.
(mark-sexp-diary-entries, calendar-mark-complex):
Expand calendar-for-loops.
2008-04-02 03:34:23 +00:00
Glenn Morris
ff35f3b850 (calendar-time-zone-daylight-rules): Simplify. 2008-04-02 03:18:55 +00:00
Glenn Morris
2d354894b7 (list-yahrzeit-dates): Expand calendar-for-loop call. 2008-04-02 03:17:21 +00:00
Glenn Morris
80b24a359b (cal-tex-insert-blank-days-at-end, cal-tex-last-blank-p)
(cal-tex-daily-page): Expand calendar-for-loops.
2008-04-02 03:16:47 +00:00
Glenn Morris
d4ab8ae3c8 (holiday-chinese-new-year): Use a single let. 2008-04-02 03:15:54 +00:00
Glenn Morris
8fe9705016 (calendar-make-temp-face): Fix previous change. Use the last :face if
more than one.  Don't ignore any attributes before :face.  Fallback to
'default face if necessary.
2008-04-01 07:25:42 +00:00
Glenn Morris
c899d5e37a (calendar-make-temp-face): New function.
(mark-visible-calendar-date): Use it.
2008-04-01 04:10:09 +00:00
Glenn Morris
eff756afa6 (fancy-diary-display): Use calendar-make-temp-face. 2008-04-01 04:08:41 +00:00
Glenn Morris
b3103ae991 (calendar-nongregorian-visible-p): New function. 2008-04-01 02:55:03 +00:00
Glenn Morris
589117b4df (holiday-julian): Use calendar-nongregorian-visible-p. 2008-04-01 02:54:50 +00:00
Glenn Morris
2f264ff695 (calendar-hebrew-date-is-visible-p): Use calendar-nongregorian-visible-p. 2008-04-01 02:54:29 +00:00
Glenn Morris
d600b86560 (Commentary): Point to calendar.el.
(calendar-holiday-list, holiday-easter-etc): Simplify by using mapcar.
(calendar-list-holidays): Return holiday-list.
(list-holidays): Use let rather than let*.  Remove un-needed locals
`d', `never'.
(calendar-check-holidays): Return result from dolist.
(holiday-float): Use a single let*.  Simplify if-and to and.
(holiday-sexp, holiday-advent, holiday-greek-orthodox-easter): Use a
single let*.
2008-04-01 02:47:40 +00:00
Glenn Morris
bf276a50b3 Comments. 2008-04-01 02:47:05 +00:00
Glenn Morris
aea566be0f (calendar-mode-map): Use calendar-mark-holidays rather than obsolete alias.
(mark-visible-calendar-date): Also use overlay for mark characters.
(calendar-unmark): Unmark by removing all overlays, rather than redrawing.
(calendar-starred-day): Remove.
(calendar-mode): Disable undo.  Don't make calendar-starred-day local.
(calendar-cursor-to-date): No need for special star handling now using overlays.
(calendar-star-date): Use overlays.
2008-04-01 02:46:29 +00:00
Glenn Morris
6b789b4b03 (hebrew-calendar-elapsed-days): Dox fix.
(calendar-hebrew-date-is-visible-p): Extract some common code into
separate function.
(holiday-hebrew, mark-hebrew-calendar-date-pattern): Use it.
(calendar-hebrew-from-absolute, holiday-hanukkah)
(mark-hebrew-calendar-date-pattern): Reduce nesting of some lets.
2008-04-01 02:45:47 +00:00
Glenn Morris
f1e3fbeb91 (Commentary): Point to calendar.el.
(solar-equinoxes-solstices): Reduce nesting of some lets.
2008-04-01 02:44:52 +00:00
Glenn Morris
4bd7ad5f76 (Commentary): Point to calendar.el.
(lunar-phase-list, lunar-new-moon-on-or-after): Reduce nesting of some lets.
2008-04-01 02:44:23 +00:00
Glenn Morris
c7af68bcfc (cal-tex-cursor-month-landscape)
(cal-tex-cursor-month, cal-tex-LaTeXify-string): Reduce nesting of some lets.
2008-04-01 02:43:57 +00:00
Glenn Morris
e5e9977663 (Commentary): Point to calendar.el.
(calendar-persian-date-string): Reduce nesting of some lets.
2008-04-01 02:43:30 +00:00
Glenn Morris
b36e906dd0 (Commentary): Point to calendar.el.
(calendar-forward-month, calendar-end-of-month): Reduce nesting of some lets.
2008-04-01 02:43:05 +00:00
Glenn Morris
714b503452 (Commentary): Point to calendar.el.
(cal-menu-holidays-menu):  Use calendar-mark-holidays rather than
obsolete alias.
2008-04-01 02:42:35 +00:00
Glenn Morris
4ab3241e9b (Commentary): Point to calendar.el.
(calendar-string-to-mayan-long-count, calendar-goto-mayan-long-count-date):
Simplify.
2008-04-01 02:42:05 +00:00
Glenn Morris
551c8f1ac7 (Commentary): Point to calendar.el. 2008-04-01 02:41:15 +00:00
Glenn Morris
eaf7038ffa (Commentary): Point to calendar.el.
(calendar-goto-french-date): Reduce nesting of some lets.
2008-04-01 02:40:36 +00:00
Glenn Morris
b1c57079fc (Commentary): Point to calendar.el. 2008-04-01 02:39:52 +00:00
Glenn Morris
bf694ab92f (mark-islamic-diary-entries): Fix argument order in call to
diary-mark-entries-1.
2008-03-31 16:25:18 +00:00
Glenn Morris
5882b6bbf6 (diary-bahai-mark-entries): Fix argument order in call to diary-mark-entries-1. 2008-03-31 16:24:12 +00:00
Glenn Morris
618c03c1ba (Commentary): Replace with pointer to calendar.el.
(mark-hebrew-diary-entries): Fix argument order in call to diary-mark-entries-1.
2008-03-31 16:23:52 +00:00
Glenn Morris
cca1ce4cd7 (holiday-bahai): Use an algorithm actually relevant to this calendar
system.
2008-03-31 16:12:53 +00:00
Glenn Morris
a8ee33abbf (increment-calendar-month): Optionally handle systems without 12
months per year.
2008-03-31 16:00:05 +00:00
Glenn Morris
7bead204f1 (Commentary): Replace with reference to calendar.el.
(holiday-islamic): Comments.  Remove un-needed let.  Use and.
2008-03-31 15:39:20 +00:00
Glenn Morris
fb9e0d3494 (calendar-bahai-date-string): Make previous change more explicit. 2008-03-31 07:51:16 +00:00
Glenn Morris
c8b69b0ac8 Fix typo in previous change. 2008-03-31 07:41:01 +00:00
Glenn Morris
0d16be53d1 (holiday-chinese-new-year): Doc fix and comment. 2008-03-31 07:40:11 +00:00
Glenn Morris
f6c762dde1 (increment-calendar-month): Doc fix.
(calendar-date-is-visible-p): Doc fix.  Simplify.
2008-03-31 07:11:00 +00:00
Glenn Morris
1d2a9d53ab Comment. 2008-03-31 07:08:38 +00:00
Glenn Morris
a3886890a2 (holiday-julian): Fix a a problem with holidays in the last fortnight
in Julian October.
2008-03-31 01:59:33 +00:00
Glenn Morris
34ee3257bd (calendar-bahai-date-string): Avoid an error for pre-Bahai dates. 2008-03-31 01:47:29 +00:00
Glenn Morris
c8a54cf1aa (holiday-fixed): Comment.
(holiday-filter-visible-calendar): Return result from dolist.
2008-03-31 01:36:40 +00:00
Glenn Morris
b54eb5847e (list-holidays): Use or. 2008-03-29 23:26:17 +00:00
Glenn Morris
d53e3af1d4 (holiday-julian): Simplify. 2008-03-29 23:24:35 +00:00
Glenn Morris
2ed33c407c (holiday-hebrew): Simplify. 2008-03-29 23:23:20 +00:00
Glenn Morris
f2b4643502 Autoload diary-insert-entry-1.
(insert-hebrew-diary-entry, insert-monthly-hebrew-diary-entry)
(insert-yearly-hebrew-diary-entry): Use diary-insert-entry-1.
(diary-make-date): Autoload it.
(diary-yahrzeit): Doc fix.  Use diary-make-date.
2008-03-29 02:46:54 +00:00
Glenn Morris
f905ff0d8f (icalendar--datetime-to-american-date): New name for
icalendar--datetime-to-noneuropean-date.  Make old name obsolete alias.
(icalendar--datetime-to-iso-date): New function.
(icalendar--datetime-to-diary-date): Doc fix.  Respect
calendar-date-style if bound.
2008-03-29 02:44:44 +00:00