emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 6ad53fa22e: org: Correct regexp escaping to use reg


From: ELPA Syncer
Subject: [elpa] externals/org 6ad53fa22e: org: Correct regexp escaping to use regexp-quote
Date: Tue, 26 Jul 2022 00:57:47 -0400 (EDT)

branch: externals/org
commit 6ad53fa22eab5830f85a401960dc1e7d00154a27
Author: TEC <tec@tecosaur.com>
Commit: TEC <tec@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))
                            "\\'"))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]