diff options
| author | Glenn Morris | 2008-06-26 22:29:15 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-06-26 22:29:15 +0000 |
| commit | 70e420e303200fa705e94b7d116c2a796295c6ce (patch) | |
| tree | 52310d7b28666ad17edfa162f7d80c505cb4ba31 | |
| parent | 5c4e1641081dd766bb78d803a906bffe95a938b1 (diff) | |
| download | emacs-70e420e303200fa705e94b7d116c2a796295c6ce.tar.gz emacs-70e420e303200fa705e94b7d116c2a796295c6ce.zip | |
(cal-menu-sunmoon-menu): Rename from cal-menu-moon-menu. Add
calendar-sunrise-sunset-month.
(cal-menu-global-mouse-menu): Add calendar-sunrise-sunset-month.
(cal-menu-goto-menu): Tweak menu name.
| -rw-r--r-- | lisp/calendar/cal-menu.el | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lisp/calendar/cal-menu.el b/lisp/calendar/cal-menu.el index 704c49a6501..e78a89f3386 100644 --- a/lisp/calendar/cal-menu.el +++ b/lisp/calendar/cal-menu.el | |||
| @@ -32,11 +32,12 @@ | |||
| 32 | 32 | ||
| 33 | (require 'calendar) | 33 | (require 'calendar) |
| 34 | 34 | ||
| 35 | (defconst cal-menu-moon-menu | 35 | (defconst cal-menu-sunmoon-menu |
| 36 | '("Moon" | 36 | '("Sun/Moon" |
| 37 | ["Lunar Phases" calendar-phases-of-moon] | 37 | ["Lunar Phases" calendar-phases-of-moon] |
| 38 | ["Sunrise/sunset for cursor date" calendar-sunrise-sunset]) | 38 | ["Sunrise/sunset for cursor date" calendar-sunrise-sunset] |
| 39 | "Key map for \"Moon\" menu in the calendar.") | 39 | ["Sunrise/sunset for cursor month" calendar-sunrise-sunset-month]) |
| 40 | "Key map for \"Sun/Moon\" menu in the calendar.") | ||
| 40 | 41 | ||
| 41 | (defconst cal-menu-diary-menu | 42 | (defconst cal-menu-diary-menu |
| 42 | '("Diary" | 43 | '("Diary" |
| @@ -111,7 +112,7 @@ | |||
| 111 | "Key map for \"Holidays\" menu in the calendar.") | 112 | "Key map for \"Holidays\" menu in the calendar.") |
| 112 | 113 | ||
| 113 | (defconst cal-menu-goto-menu | 114 | (defconst cal-menu-goto-menu |
| 114 | '("Go To" | 115 | '("Goto" |
| 115 | ["Today" calendar-goto-today] | 116 | ["Today" calendar-goto-today] |
| 116 | ["Beginning of Week" calendar-beginning-of-week] | 117 | ["Beginning of Week" calendar-beginning-of-week] |
| 117 | ["End of Week" calendar-end-of-week] | 118 | ["End of Week" calendar-end-of-week] |
| @@ -140,7 +141,7 @@ | |||
| 140 | ["Next Round" calendar-mayan-next-round-date] | 141 | ["Next Round" calendar-mayan-next-round-date] |
| 141 | ["Previous Round" calendar-mayan-previous-round-date]) | 142 | ["Previous Round" calendar-mayan-previous-round-date]) |
| 142 | ["French Date" calendar-french-goto-date]) | 143 | ["French Date" calendar-french-goto-date]) |
| 143 | "Key map for \"Go To\" menu in the calendar.") | 144 | "Key map for \"Goto\" menu in the calendar.") |
| 144 | 145 | ||
| 145 | (defconst cal-menu-scroll-menu | 146 | (defconst cal-menu-scroll-menu |
| 146 | '("Scroll" | 147 | '("Scroll" |
| @@ -246,6 +247,7 @@ is non-nil." | |||
| 246 | ["Mark holidays" calendar-mark-holidays] | 247 | ["Mark holidays" calendar-mark-holidays] |
| 247 | ["Unmark" calendar-unmark] | 248 | ["Unmark" calendar-unmark] |
| 248 | ["Lunar phases" calendar-phases-of-moon] | 249 | ["Lunar phases" calendar-phases-of-moon] |
| 250 | ["Sunrise times for month" calendar-sunrise-sunset-month] | ||
| 249 | ["Show diary" diary-show-all-entries] | 251 | ["Show diary" diary-show-all-entries] |
| 250 | ["Exit calendar" calendar-exit])) | 252 | ["Exit calendar" calendar-exit])) |
| 251 | 253 | ||