فهرست منبع

Fix breakage from previous commit

* lisp/org-element.el: Do not (require 'org).

* lisp/org-agenda.el: Remove duplicate requires.
Achim Gratz 13 سال پیش
والد
کامیت
044b0ff7e8
2فایلهای تغییر یافته به همراه2 افزوده شده و 6 حذف شده
  1. 0 4
      lisp/org-agenda.el
  2. 2 2
      lisp/org-element.el

+ 0 - 4
lisp/org-agenda.el

@@ -1793,10 +1793,6 @@ Note that functions in this alist don't need to be quoted."
   :version "24.1"
   :group 'org-agenda)
 
-(eval-when-compile
-  (require 'cl))
-(require 'org)
-
 (defmacro org-agenda-with-point-at-orig-entry (string &rest body)
   "Execute BODY with point at location given by `org-hd-marker' property.
 If STRING is non-nil, the text property will be fetched from position 0

+ 2 - 2
lisp/org-element.el

@@ -108,8 +108,8 @@
 
 ;;; Code:
 
-(eval-when-compile (require 'cl))
-(require 'org)
+(eval-when-compile
+  (require 'cl))
 (declare-function org-inlinetask-goto-end "org-inlinetask" ())