From abf5156096c06ee5aa05795c3dc5a065f76ada97 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Fri, 13 Oct 2023 15:34:39 +0300 Subject: [PATCH] * lisp/org-attach.el (org-attach-attach): Do not end error message with period --- lisp/org-attach.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-attach.el b/lisp/org-attach.el index a3f8652fe..cb9819538 100644 --- a/lisp/org-attach.el +++ b/lisp/org-attach.el @@ -591,7 +591,7 @@ METHOD may be `cp', `mv', `ln', `lns' or `url' default taken from ((eq method 'url) (if (org--should-fetch-remote-resource-p file) (url-copy-file file attach-file) - (error "The remote resource %S is considered unsafe, and will not be downloaded." + (error "The remote resource %S is considered unsafe, and will not be downloaded" file)))) (run-hook-with-args 'org-attach-after-change-hook attach-dir) (org-attach-tag)