From b2dc49d7be9e9112dba720e9cc3c052059440175 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Sat, 7 Jun 2025 09:29:36 -0700 Subject: [PATCH] Fix org-link match group This match group was changed from 3 to 2 in org-mode 9.3 (released in 2019). --- calfw-org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calfw-org.el b/calfw-org.el index 4590f1c..1939504 100644 --- a/calfw-org.el +++ b/calfw-org.el @@ -190,7 +190,7 @@ For example, ;;; ------------------------------------------------------------------------ (setq text (replace-regexp-in-string "%[0-9A-F]\\{2\\}" " " text)) (if (string-match org-bracket-link-regexp text) - (let* ((desc (if (match-end 3) (org-match-string-no-properties 3 text))) + (let* ((desc (if (match-end 2) (org-match-string-no-properties 2 text))) (link (org-link-unescape (org-match-string-no-properties 1 text))) (help (concat "LINK: " link)) (link-props (list