Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion org-download.el
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@
(require 'org)
(require 'org-attach)
(require 'org-element)
(eval-when-compile
(when (or (version<= "27.1" emacs-version)
(version<= "9.3" org-version))
(require 'ol)))

(defgroup org-download nil
"Image drag-and-drop for org-mode."
Expand Down Expand Up @@ -239,7 +243,10 @@ For example:
(if heading
(replace-regexp-in-string
" " "_"
heading)
(if (fboundp 'org-link-display-format)
(org-link-display-format
heading)
heading))
"")))
""))))

Expand Down