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.
This commit is contained in:
parent
4255d5dcc0
commit
01f10031b1
|
@ -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 ")
|
||||
|
|
Loading…
Reference in New Issue