diff options
-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 636d191..6e58155 100644 --- a/org-link-edit.el +++ b/org-link-edit.el @@ -374,9 +374,9 @@ END." (org-link-edit--on-link-p))) (user-error "Cannot transport next link with point on a link")) (goto-char (or (car desc-bounds) pt)) - (cl-multiple-value-bind (link-beg link-end link desc) + (cl-multiple-value-bind (link-beg link-end link orig-desc) (org-link-edit--next-link-data previous) - (unless (or (not desc-bounds) (= (length desc) 0)) + (unless (or (not desc-bounds) (= (length orig-desc) 0)) (user-error "Link already has a description")) (delete-region link-beg link-end) (insert (org-make-link-string |