diff options
author | Marco Wahl <marcowahlsoft@gmail.com> | 2014-11-04 11:06:37 +0100 |
---|---|---|
committer | Marco Wahl <marcowahlsoft@gmail.com> | 2014-11-04 11:06:37 +0100 |
commit | 33786d4645dfd5c744e38e3a4bdc587e7e5caf62 (patch) | |
tree | fe3e49fee2d99f980f156c6f1fe065586dd30bec | |
parent | 4508b8c2a7f2bf3928967adb1cab20aff466e5bd (diff) | |
download | org-mode-33786d4645dfd5c744e38e3a4bdc587e7e5caf62.tar.gz |
org-agenda: Switch to current API for two calendar calls
* lisp/org-agenda.el (org-agenda-phases-of-moon, org-agenda-holidays):
Update to use the current API
This commit fixes the display of holidays in the agenda for emacs 25.
Further for getting the lunar phases the usage of an obsolete alias
has been replaced by the current name.
-rw-r--r-- | lisp/org-agenda.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index c11c1c8..7632e1b 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -9530,12 +9530,12 @@ entries in that Org-mode file." (defun org-agenda-phases-of-moon () "Display the phases of the moon for the 3 months around the cursor date." (interactive) - (org-agenda-execute-calendar-command 'calendar-phases-of-moon)) + (org-agenda-execute-calendar-command 'calendar-lunar-phases)) (defun org-agenda-holidays () "Display the holidays for the 3 months around the cursor date." (interactive) - (org-agenda-execute-calendar-command 'list-calendar-holidays)) + (org-agenda-execute-calendar-command 'calendar-list-holidays)) (defvar calendar-longitude) ; defined in calendar.el (defvar calendar-latitude) ; defined in calendar.el |