Browse Source

Revert "org-compat.el: Require 'org-agenda in a timely fashion"

This reverts commit 2f30ecffdfbd30075add115beac953098fd4160f.
Bastien 4 months ago
parent
commit
016aa96f99
1 changed files with 1 additions and 3 deletions
  1. 1 3
      lisp/org-compat.el

+ 1 - 3
lisp/org-compat.el

@@ -1048,9 +1048,7 @@ key."
 		   #'org-agenda-diary-entry)))
 
 (eval-after-load "calendar"
-  '(progn
-     (require 'org-agenda)
-     (add-hook 'calendar-mode-hook #'org--setup-calendar-bindings)))
+  '(add-hook 'calendar-mode-hook #'org--setup-calendar-bindings))
 
 ;;;; Saveplace