mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
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
@ -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 ")
|
||||
|
Loading…
Reference in New Issue
Block a user