diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 19535b4..217c701 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -7685,7 +7685,9 @@ the cursor position." (defun org-agenda-holidays () "Display the holidays for the 3 months around the cursor date." (interactive) - (org-agenda-execute-calendar-command 'list-calendar-holidays)) + (if (fboundp 'list-calendar-holidays) + (org-agenda-execute-calendar-command 'list-calendar-holidays) + (org-agenda-execute-calendar-command 'calendar-list-holidays))) (defvar calendar-longitude) (defvar calendar-latitude)