[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals-release/org f8bb414615: org-at-timestamp-p: Fix compati
From: |
ELPA Syncer |
Subject: |
[elpa] externals-release/org f8bb414615: org-at-timestamp-p: Fix compatibility with Emacs 26 |
Date: |
Mon, 2 May 2022 00:58:09 -0400 (EDT) |
branch: externals-release/org
commit f8bb41461599c359b7a95f056f61f0b5657dcffc
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>
org-at-timestamp-p: Fix compatibility with Emacs 26
* lisp/org.el (org-at-timestamp-p): Do not use variables in regexp rx
form. They are not yet supported in Emacs 26. Expand them at runtime
instead.
---
lisp/org.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/org.el b/lisp/org.el
index 1fc4251a34..e0144605b0 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -15026,8 +15026,9 @@ When matching, the match groups are the following:
(let* ((regexp
(if extended
(if (eq extended 'agenda)
- (rx (or (regexp org-ts-regexp3)
- (regexp org-element--timestamp-regexp)))
+ (rx-to-string
+ `(or (regexp ,org-ts-regexp3)
+ (regexp ,org-element--timestamp-regexp)))
org-ts-regexp3)
org-ts-regexp2))
(pos (point))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals-release/org f8bb414615: org-at-timestamp-p: Fix compatibility with Emacs 26,
ELPA Syncer <=