Browse Source

org-capture: require dired since org-capture might use `dired-buffers'

Bastien Guerry 6 years ago
parent
commit
f3e563476b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lisp/org-capture.el

+ 2 - 0
lisp/org-capture.el

@@ -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))