summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-01-28 17:25:02 -0600
committerCase Duckworth2022-01-28 17:25:02 -0600
commitaba16d7e167b1b14920df879931391eae2cbde92 (patch)
tree7987a386bebad1e5392f0063715d8eb4cc4952ba
parentEnable/disable packages and stuff (diff)
downloademacs-aba16d7e167b1b14920df879931391eae2cbde92.tar.gz
emacs-aba16d7e167b1b14920df879931391eae2cbde92.zip
Move org-download
-rw-r--r--init.el14
1 files 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'."
1532 org-appear-delay 0) 1532 org-appear-delay 0)
1533 (:hook-into org-mode)) 1533 (:hook-into org-mode))
1534 1534
1535(setup (:straight org-download)
1536 (:option org-download-method 'attach
1537 org-download-backend (cond ((executable-find "curl") 'curl)
1538 ((executable-find "wget") 'wget)
1539 (:else 'url-retrieve)))
1540 (add-hook 'dired-mode-hook 'org-download-enable))
1541
1535(setup (:straight org-sticky-header) 1542(setup (:straight org-sticky-header)
1536 ;; (:hook-into org-mode) 1543 ;; (:hook-into org-mode)
1537 ) 1544 )
@@ -1862,10 +1869,3 @@ See also `crux-reopen-as-root-mode'."
1862 (:require +zzz-to-char) 1869 (:require +zzz-to-char)
1863 (:option zzz-to-char-reach (+bytes 1 :kib)) 1870 (:option zzz-to-char-reach (+bytes 1 :kib))
1864 (:global "M-z" #'+zzz-to-char)) 1871 (:global "M-z" #'+zzz-to-char))
1865
1866(setup (:straight org-download)
1867 (:option org-download-method 'attach
1868 org-download-backend (cond ((executable-find "curl") 'curl)
1869 ((executable-find "wget") 'wget)
1870 (:else 'url-retrieve)))
1871 (add-hook 'dired-mode-hook 'org-download-enable))