diff options
| author | Glenn Morris | 2008-06-26 22:30:01 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-06-26 22:30:01 +0000 |
| commit | 6e73a6a2c1fd9b97a4ed23747897349bd7ffc2f0 (patch) | |
| tree | 2dc9d14d5426f46d61f47fd0ab581d00d3b70b07 | |
| parent | 70e420e303200fa705e94b7d116c2a796295c6ce (diff) | |
| download | emacs-6e73a6a2c1fd9b97a4ed23747897349bd7ffc2f0.tar.gz emacs-6e73a6a2c1fd9b97a4ed23747897349bd7ffc2f0.zip | |
(solar-sunrises-buffer): New constant.
(calendar-mode-map): Use cal-menu-sunmoon-menu.
(calendar-buffer-list): Add solar-sunrises-buffer.
| -rw-r--r-- | lisp/ChangeLog | 14 | ||||
| -rw-r--r-- | lisp/calendar/calendar.el | 7 |
2 files changed, 19 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index eaf44357690..38ad5a243fa 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,17 @@ | |||
| 1 | 2008-06-26 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * calendar/solar.el (solar-sunrise-sunset-string): Add optional | ||
| 4 | argument `nolocation'. | ||
| 5 | (calendar-sunrise-sunset-month): New function. | ||
| 6 | * calendar/cal-menu.el (cal-menu-sunmoon-menu): Rename from | ||
| 7 | cal-menu-moon-menu. Add calendar-sunrise-sunset-month. | ||
| 8 | (cal-menu-global-mouse-menu): Add calendar-sunrise-sunset-month. | ||
| 9 | * calendar/calendar.el (solar-sunrises-buffer): New constant. | ||
| 10 | (calendar-mode-map): Use cal-menu-sunmoon-menu. | ||
| 11 | (calendar-buffer-list): Add solar-sunrises-buffer. | ||
| 12 | |||
| 13 | * calendar/cal-menu.el (cal-menu-goto-menu): Tweak menu name. | ||
| 14 | |||
| 1 | 2008-06-26 Chong Yidong <cyd@stupidchicken.com> | 15 | 2008-06-26 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 16 | ||
| 3 | * cus-start.el: Add customization types for word-wrap and | 17 | * cus-start.el: Add customization types for word-wrap and |
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el index 284937f3017..c4885d476ff 100644 --- a/lisp/calendar/calendar.el +++ b/lisp/calendar/calendar.el | |||
| @@ -1018,6 +1018,9 @@ calendar." | |||
| 1018 | (defconst lunar-phases-buffer "*Phases of Moon*" | 1018 | (defconst lunar-phases-buffer "*Phases of Moon*" |
| 1019 | "Name of the buffer used for the lunar phases.") | 1019 | "Name of the buffer used for the lunar phases.") |
| 1020 | 1020 | ||
| 1021 | (defconst solar-sunrises-buffer "*Sunrise/Sunset Times" | ||
| 1022 | "Name of buffer used for sunrise/sunset times.") | ||
| 1023 | |||
| 1021 | (defconst calendar-hebrew-yahrzeit-buffer "*Yahrzeits*" | 1024 | (defconst calendar-hebrew-yahrzeit-buffer "*Yahrzeits*" |
| 1022 | "Name of the buffer used by `list-yahrzeit-dates'.") | 1025 | "Name of the buffer used by `list-yahrzeit-dates'.") |
| 1023 | 1026 | ||
| @@ -1565,7 +1568,7 @@ line." | |||
| 1565 | (define-key map [menu-bar edit] 'undefined) | 1568 | (define-key map [menu-bar edit] 'undefined) |
| 1566 | (define-key map [menu-bar search] 'undefined) | 1569 | (define-key map [menu-bar search] 'undefined) |
| 1567 | 1570 | ||
| 1568 | (easy-menu-define nil map nil cal-menu-moon-menu) | 1571 | (easy-menu-define nil map nil cal-menu-sunmoon-menu) |
| 1569 | (easy-menu-define nil map nil cal-menu-diary-menu) | 1572 | (easy-menu-define nil map nil cal-menu-diary-menu) |
| 1570 | (easy-menu-define nil map nil cal-menu-holidays-menu) | 1573 | (easy-menu-define nil map nil cal-menu-holidays-menu) |
| 1571 | (easy-menu-define nil map nil cal-menu-goto-menu) | 1574 | (easy-menu-define nil map nil cal-menu-goto-menu) |
| @@ -1722,7 +1725,7 @@ the STRINGS are just concatenated and the result truncated." | |||
| 1722 | "List of all calendar-related buffers (as buffers, not strings)." | 1725 | "List of all calendar-related buffers (as buffers, not strings)." |
| 1723 | (let (buffs) | 1726 | (let (buffs) |
| 1724 | (dolist (b (list calendar-hebrew-yahrzeit-buffer lunar-phases-buffer | 1727 | (dolist (b (list calendar-hebrew-yahrzeit-buffer lunar-phases-buffer |
| 1725 | holiday-buffer diary-fancy-buffer | 1728 | holiday-buffer diary-fancy-buffer solar-sunrises-buffer |
| 1726 | (get-file-buffer diary-file) | 1729 | (get-file-buffer diary-file) |
| 1727 | calendar-buffer calendar-other-calendars-buffer)) | 1730 | calendar-buffer calendar-other-calendars-buffer)) |
| 1728 | (and b (setq b (get-buffer b)) | 1731 | (and b (setq b (get-buffer b)) |