diff --git a/init.el b/init.el index ba1defd..7e38d22 100644 --- a/init.el +++ b/init.el @@ -897,10 +897,6 @@ (mapcar #'timer--function timer-idle-list)) (run-with-idle-timer 200 t #'db/export-diary)) - ;; Drag-and-Drop images into org-mode buffer - (use-package org-download - :init (setq org-download-method 'attach)) - ;; Hack: The default implementation is too slow, because it is ;; parsing all properties of an entry by default. Let’s simplify ;; this to only parse what we are looking for. This makes tag @@ -918,6 +914,13 @@ ;; This is different in the original implementation (org-entry-get pom property)))))) +;; Drag-and-Drop images into org-mode buffer +(use-package org-download + :commands (org-download-yank + org-download-screenshot + org-download-clipboard) + :init (setq org-download-method 'attach)) + (use-package ol :init (setq org-link-keep-stored-after-insertion t) :commands (org-store-link))