commit 6ae953c278686574a0a9b9f7f0927d242efa99cc
parent e388e0625ff754d7285b97641403ac54d18242a6
Author: Oleh Krehel <ohwoeowho@gmail.com>
Date: Wed, 8 Apr 2015 19:51:31 +0200
Minor fixups
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/org-download.el b/org-download.el
@@ -270,7 +270,7 @@ The screenshot tool is determined by `org-download-screenshot-method'."
(setq lnk (read (current-buffer)))))
(if lnk
(setq link lnk)
- (error "link %s does not point to an image; unaliasing failed" link)))))
+ (error "Link %s does not point to an image; unaliasing failed" link)))))
(let ((filename
(if (eq org-download-method 'attach)
(let ((org-download-image-dir (progn (require 'org-attach)
@@ -375,6 +375,7 @@ Otherwise, pass URI and ACTION back to dnd dispatch."
(expand-file-name filename))
t t)))
+;;;###autoload
(defun org-download-enable ()
"Enable org-download."
(unless (eq (cdr (assoc "^\\(https?\\|ftp\\|file\\|nfs\\)://" dnd-protocol-alist))