branch: externals-release/org
commit 5f050580d847036ab8902f42e8306e1540df2c89
Author: Ihor Radchenko <yanta...@posteo.net>
Commit: Ihor Radchenko <yanta...@posteo.net>

    lisp/org.el (org--dnd-attach-file): Load org-attach
    
    This is necessary to make sure that `org-attach-method' variable is
    available.
---
 lisp/org.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/org.el b/lisp/org.el
index d941bae418..0bde18397a 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -20889,6 +20889,7 @@ The action `private' is always returned.
 
 SEPARATOR is the string to insert after each link."
   (require 'mailcap)
+  (require 'org-attach)
   (let* ((filename (dnd-get-local-file-name url))
          (mimetype (mailcap-file-name-to-mime-type filename))
          (separatep (and (string-prefix-p "image/" mimetype)

Reply via email to