Sfoglia il codice sorgente

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

Bastien Guerry 13 anni fa
parent
commit
f3e563476b
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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))