diff options
author | Kyle Meyer <kyle@kyleam.com> | 2016-03-08 01:43:44 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2016-03-08 01:45:35 -0500 |
commit | 9872a32374189663808682a695cd0549ff37b54d (patch) | |
tree | 636a986be8fb514845c9af075367dc0316d15929 /org-link-edit.el | |
parent | 6c859cde38e8b3b5ff0702ff91e6b0005020357d (diff) | |
download | org-link-edit-9872a32374189663808682a695cd0549ff37b54d.tar.gz |
org-link-edit--get-link-data: Unescape link text
org-make-link-string will escape the link again when it's reinserted.
Diffstat (limited to 'org-link-edit.el')
-rw-r--r-- | org-link-edit.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org-link-edit.el b/org-link-edit.el index 9e18629..4e94c09 100644 --- a/org-link-edit.el +++ b/org-link-edit.el @@ -84,14 +84,14 @@ The list includes ((looking-at org-bracket-link-regexp) (list (match-beginning 0) (match-end 0) - (match-string-no-properties 1) + (org-link-unescape (match-string-no-properties 1)) (or (and (match-end 3) (match-string-no-properties 3)) ""))) ((looking-at org-plain-link-re) (list (match-beginning 0) (match-end 0) - (match-string-no-properties 0) + (org-link-unescape (match-string-no-properties 0)) nil)) (t (error "What am I looking at?")))))) |