aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--org-link-edit.el6
2 files changed, 4 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index 159441f..306d0a5 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,8 @@ Org Link Edit NEWS -- history of user-visible changes -*- mode: org; -*-
* Unreleased
+Org Link Edit now requires at least Org mode v9.3.
+
** New features
- If the target link already has a description,
diff --git a/org-link-edit.el b/org-link-edit.el
index 200ddb9..8500f2a 100644
--- a/org-link-edit.el
+++ b/org-link-edit.el
@@ -6,7 +6,7 @@
;; URL: https://git.sr.ht/~kyleam/org-link-edit
;; Keywords: convenience
;; Version: 1.1.1
-;; Package-Requires: ((cl-lib "0.5") (org "8.2.10"))
+;; Package-Requires: ((cl-lib "0.5") (org "9.3"))
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -95,9 +95,7 @@ The list includes
(match-end 0)
(save-match-data
(org-link-unescape (match-string-no-properties 1)))
- (or (and (match-end 3)
- (match-string-no-properties 3))
- "")))
+ (or (match-string-no-properties 2) "")))
((looking-at org-plain-link-re)
(list (match-beginning 0)
(match-end 0)