Move org-download

This commit is contained in:
Case Duckworth 2022-01-28 17:25:02 -06:00
parent 20ff854f41
commit aba16d7e16
1 changed files with 7 additions and 7 deletions

14
init.el
View File

@ -1532,6 +1532,13 @@ See also `crux-reopen-as-root-mode'."
org-appear-delay 0)
(:hook-into org-mode))
(setup (:straight org-download)
(:option org-download-method 'attach
org-download-backend (cond ((executable-find "curl") 'curl)
((executable-find "wget") 'wget)
(:else 'url-retrieve)))
(add-hook 'dired-mode-hook 'org-download-enable))
(setup (:straight org-sticky-header)
;; (:hook-into org-mode)
)
@ -1862,10 +1869,3 @@ See also `crux-reopen-as-root-mode'."
(:require +zzz-to-char)
(:option zzz-to-char-reach (+bytes 1 :kib))
(:global "M-z" #'+zzz-to-char))
(setup (:straight org-download)
(:option org-download-method 'attach
org-download-backend (cond ((executable-find "curl") 'curl)
((executable-find "wget") 'wget)
(:else 'url-retrieve)))
(add-hook 'dired-mode-hook 'org-download-enable))