diff options
-rw-r--r-- | lisp/ol-bookmark.el | 2 | ||||
-rw-r--r-- | lisp/org-expiry.el | 2 | ||||
-rw-r--r-- | lisp/org-interactive-query.el | 1 | ||||
-rw-r--r-- | lisp/org-invoice.el | 4 | ||||
-rw-r--r-- | lisp/org-registry.el | 2 | ||||
-rw-r--r-- | lisp/org-secretary.el | 1 | ||||
-rw-r--r-- | lisp/org-toc.el | 1 | ||||
-rw-r--r-- | lisp/orgtbl-sqlinsert.el | 2 |
8 files changed, 13 insertions, 2 deletions
diff --git a/lisp/ol-bookmark.el b/lisp/ol-bookmark.el index e9178fb..cfb58dc 100644 --- a/lisp/ol-bookmark.el +++ b/lisp/ol-bookmark.el @@ -59,6 +59,8 @@ Otherwise prompt the user for the right bookmark to use." (defun org-bookmark-store-link () "Store a link to the current line's bookmark in bookmark list." + (require 'dired) + (declare-function dired-get-filename "dired" (&optional localp no-error-if-not-filep)) (let (file bookmark bmks) (cond ((and org-bookmark-in-dired (eq major-mode 'dired-mode)) diff --git a/lisp/org-expiry.el b/lisp/org-expiry.el index 6ef71cf..2c7c7d8 100644 --- a/lisp/org-expiry.el +++ b/lisp/org-expiry.el @@ -75,6 +75,8 @@ ;;; Code: +(require 'org) + ;;; User variables: (defgroup org-expiry nil diff --git a/lisp/org-interactive-query.el b/lisp/org-interactive-query.el index 54b96b4..bd52f93 100644 --- a/lisp/org-interactive-query.el +++ b/lisp/org-interactive-query.el @@ -36,6 +36,7 @@ ;; ; (require 'org) +(require 'org-agenda) (org-defkey org-agenda-mode-map "=" 'org-agenda-query-clear-cmd) (org-defkey org-agenda-mode-map "/" 'org-agenda-query-and-cmd) diff --git a/lisp/org-invoice.el b/lisp/org-invoice.el index 049bef5..292f31e 100644 --- a/lisp/org-invoice.el +++ b/lisp/org-invoice.el @@ -46,9 +46,9 @@ ;; ;; git clone git://pmade.com/elisp (eval-when-compile - (require 'cl-lib) - (require 'org)) + (require 'cl-lib)) (require 'org-duration) +(require 'org) (defgroup org-invoice nil "OrgMode Invoice Helper" diff --git a/lisp/org-registry.el b/lisp/org-registry.el index fdae6cc..0f612a0 100644 --- a/lisp/org-registry.el +++ b/lisp/org-registry.el @@ -65,6 +65,8 @@ (eval-when-compile (require 'cl-lib)) +(require 'org-agenda) +(require 'ol) (defgroup org-registry nil "A registry for Org." diff --git a/lisp/org-secretary.el b/lisp/org-secretary.el index 4da4e9a..b78ff93 100644 --- a/lisp/org-secretary.el +++ b/lisp/org-secretary.el @@ -100,6 +100,7 @@ ;; location and the time to entries. (require 'org) +(require 'org-agenda) (defvar org-sec-me nil "Tag that defines TASK todo entries associated to me") diff --git a/lisp/org-toc.el b/lisp/org-toc.el index 4978496..031ecdf 100644 --- a/lisp/org-toc.el +++ b/lisp/org-toc.el @@ -34,6 +34,7 @@ (provide 'org-toc) (eval-when-compile (require 'cl-lib)) +(require 'org) ;;; Custom variables: (defvar org-toc-base-buffer nil) diff --git a/lisp/orgtbl-sqlinsert.el b/lisp/orgtbl-sqlinsert.el index 9714ada..d7b0d2c 100644 --- a/lisp/orgtbl-sqlinsert.el +++ b/lisp/orgtbl-sqlinsert.el @@ -27,6 +27,8 @@ ;;; Code: +(require 'org-table) + (defun orgtbl-to-sqlinsert (table params) "Convert the orgtbl-mode TABLE to SQL insert statements. TABLE is a list, each entry either the symbol `hline' for a horizontal |