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.
This commit is contained in:
parent
2bc865ace0
commit
7a5d7be52c
1 changed files with 1 additions and 1 deletions
|
@ -4671,9 +4671,9 @@ returns non-nil if any of them match."
|
||||||
(propertize domain 'face '(:inherit org-link :weight normal))
|
(propertize domain 'face '(:inherit org-link :weight normal))
|
||||||
") as safe.\n ")
|
") as safe.\n ")
|
||||||
"")
|
"")
|
||||||
(propertize "f" 'face 'success)
|
|
||||||
(if current-file
|
(if current-file
|
||||||
(concat
|
(concat
|
||||||
|
(propertize "f" 'face 'success)
|
||||||
" to download this resource, and permanently mark all resources in "
|
" to download this resource, and permanently mark all resources in "
|
||||||
(propertize current-file 'face 'underline)
|
(propertize current-file 'face 'underline)
|
||||||
" as safe.\n ")
|
" as safe.\n ")
|
||||||
|
|
Loading…
Add table
Reference in a new issue