org-attach: remove vestigial reference to variable

This commit is contained in:
Henrik Lissner 2017-09-07 17:55:01 +02:00
parent 6327c96886
commit 806ee96416
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -60,7 +60,7 @@ the cursor."
(condition-case ex
(cond ((string-match-p "^data:image/png;base64," uri)
(org-download-dnd-base64 uri nil))
((and (image-type-from-file-name uri) (not arg))
((image-type-from-file-name uri)
(org-download-image uri))
(t
(let ((new-path (expand-file-name (org-download--fullname uri))))