From f494af7c2f5ededcee67ffb772a6f2510c74f4be Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Sun, 9 Jun 2024 10:27:00 +0200 Subject: [PATCH] publish.sh: Set resource download policy Also update `org-safe-remote-resources' to allow all resources from https://tracker.orgmode.org. --- publish.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/publish.sh b/publish.sh index dcac00e..10bb0d1 100755 --- a/publish.sh +++ b/publish.sh @@ -15,8 +15,8 @@ This variable can be set when running publish.sh script: (add-to-list 'load-path "/usr/share/emacs/site-lisp/elpa-src/htmlize-1.56") (require 'htmlize) -(setq org-safe-remote-resources - '("\\`https://tracker\\.orgmode\\.org/\\'")) +(setq org-resource-download-policy 'safe) +(setq org-safe-remote-resources '("https://tracker\\.orgmode\\.org")) (setq make-backup-files nil debug-on-error t) -- 2.45.2