forked from mirrors/org-mode
org: Correct regexp escaping to use regexp-quote
* lisp/org.el (org--confirm-resource-safe): `regexp-opt' was accidentally used instead of `regexp-quote'.
This commit is contained in:
parent
6013cb161d
commit
6ad53fa22e
|
@ -4588,7 +4588,7 @@ returns non-nil if any of them match."
|
|||
(customize-push-and-save
|
||||
'org-safe-remote-resources
|
||||
(list (concat "\\`"
|
||||
(regexp-opt
|
||||
(regexp-quote
|
||||
(if (and (= char ?f) current-file)
|
||||
(concat "file://" current-file) uri))
|
||||
"\\'"))))
|
||||
|
|
Loading…
Reference in New Issue