From aba16d7e167b1b14920df879931391eae2cbde92 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Fri, 28 Jan 2022 17:25:02 -0600 Subject: Move org-download --- init.el | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/init.el b/init.el index b7d1a1c..bd706a5 100644 --- a/init.el +++ b/init.el @@ -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)) -- cgit 1.4.1-21-gabe81