emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals-release/org 01f10031b1 4/5: org--confirm-resource-safe:


From: ELPA Syncer
Subject: [elpa] externals-release/org 01f10031b1 4/5: org--confirm-resource-safe: Fix prompt when prompting in non-file Org buffers
Date: Sun, 24 Mar 2024 12:58:42 -0400 (EDT)

branch: externals-release/org
commit 01f10031b169fb88606f136cf64555ce75b0666c
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    org--confirm-resource-safe: Fix prompt when prompting in non-file Org 
buffers
    
    * lisp/org.el (org--confirm-resource-safe): When called from
    non-file buffer, do not put stray "f" in the prompt.
---
 lisp/org.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org.el b/lisp/org.el
index a35b5d3b5e..e148f5fadf 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -4667,9 +4667,9 @@ returns non-nil if any of them match."
                      (propertize domain 'face '(:inherit org-link :weight 
normal))
                      ") as safe.\n ")
                   "")
-                (propertize "f" 'face 'success)
                 (if current-file
                     (concat
+                     (propertize "f" 'face 'success)
                      " to download this resource, and permanently mark all 
resources in "
                      (propertize current-file 'face 'underline)
                      " as safe.\n ")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]