diff options
author | Ihor Radchenko <yantar92@posteo.net> | 2024-02-23 12:56:58 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2024-03-24 08:41:26 -0400 |
commit | 7a5d7be52c5f0690ee47f30bfad973827261abf2 (patch) | |
tree | 8e096ab4bb6333a9fa92be4a2d3f4c6bb0078b1f /lisp/org | |
parent | 2bc865ace050ff118db43f01457f95f95112b877 (diff) | |
download | emacs-7a5d7be52c5f0690ee47f30bfad973827261abf2.tar.gz emacs-7a5d7be52c5f0690ee47f30bfad973827261abf2.tar.bz2 emacs-7a5d7be52c5f0690ee47f30bfad973827261abf2.zip |
org--confirm-resource-safe: Fix prompt when prompting in non-file Org buffers
* lisp/org/org.el (org--confirm-resource-safe): When called from
non-file buffer, do not put stray "f" in the prompt.
Diffstat (limited to 'lisp/org')
-rw-r--r-- | lisp/org/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org/org.el b/lisp/org/org.el index 76559c91cd3..154388f79c6 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el @@ -4671,9 +4671,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 ") |