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.
This commit is contained in:
parent
b5dc549a4f
commit
e2c0f4526c
11
init.el
11
init.el
|
@ -897,10 +897,6 @@
|
||||||
(mapcar #'timer--function timer-idle-list))
|
(mapcar #'timer--function timer-idle-list))
|
||||||
(run-with-idle-timer 200 t #'db/export-diary))
|
(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
|
;; Hack: The default implementation is too slow, because it is
|
||||||
;; parsing all properties of an entry by default. Let’s simplify
|
;; parsing all properties of an entry by default. Let’s simplify
|
||||||
;; this to only parse what we are looking for. This makes tag
|
;; this to only parse what we are looking for. This makes tag
|
||||||
|
@ -918,6 +914,13 @@
|
||||||
;; This is different in the original implementation
|
;; This is different in the original implementation
|
||||||
(org-entry-get pom property))))))
|
(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
|
(use-package ol
|
||||||
:init (setq org-link-keep-stored-after-insertion t)
|
:init (setq org-link-keep-stored-after-insertion t)
|
||||||
:commands (org-store-link))
|
:commands (org-store-link))
|
||||||
|
|
Loading…
Reference in New Issue