Autoload some functions from org-download

This package is important to include screenshots in Org buffers, which in turn
might be important when working on Windows.
master
Daniel Borchmann 2 years ago
parent b5dc549a4f
commit e2c0f4526c
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
  1. 11
      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))

Loading…
Cancel
Save