diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-04-17 01:45:31 +0200 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2021-04-17 15:18:04 -0400 |
commit | 3a7e1c047eff1e8711d5dfa420b054f27f70e9ee (patch) | |
tree | c54e306d2edad4d0c27f886971573c0bc159e97f | |
parent | 8e68eac0bd892fc543d80cbd76e37fcf7cf23228 (diff) | |
download | org-mode-3a7e1c047eff1e8711d5dfa420b054f27f70e9ee.tar.gz |
Remove diary-list-entries Emacs 21 compat code
* lisp/org-agenda.el (org-get-entries-from-diary): Remove some
Emacs 21 compat code; 'list-diary-entries' was made obsolete in
favour of 'diary-list-entries' in 22.1 and removed in 24.1.
-rw-r--r-- | lisp/org-agenda.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index f22e6fa..5368f58 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -5255,9 +5255,7 @@ of what a project is and how to check if it stuck, customize the variable (org-disable-agenda-to-diary t)) (save-excursion (save-window-excursion - (funcall (if (fboundp 'diary-list-entries) - 'diary-list-entries 'list-diary-entries) - date 1))) + (diary-list-entries date 1))) (if (not (get-buffer diary-fancy-buffer)) (setq entries nil) (with-current-buffer diary-fancy-buffer |