branch: externals/org commit 6ad53fa22eab5830f85a401960dc1e7d00154a27 Author: TEC <t...@tecosaur.com> Commit: TEC <t...@tecosaur.com>
org: Correct regexp escaping to use regexp-quote * lisp/org.el (org--confirm-resource-safe): `regexp-opt' was accidentally used instead of `regexp-quote'. --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 8454f776c4..c80b4a9c23 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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)) "\\'"))))