org-capture: require dired since org-capture might use `dired-buffers'
authorBastien Guerry <bzg@altern.org>
Tue, 19 Jul 2011 16:27:11 +0000 (18:27 +0200)
committerBastien Guerry <bzg@altern.org>
Tue, 19 Jul 2011 16:27:11 +0000 (18:27 +0200)
lisp/org-capture.el

index d5eebea..c2d36b5 100644 (file)
@@ -52,6 +52,8 @@
   (require 'cl))
 (require 'org)
 (require 'org-mks)
+;; Needed for the variable `dired-buffers'
+(require 'dired)
 
 (declare-function org-datetree-find-date-create "org-datetree"
                  (date &optional keep-restriction))