From e5d1cb2656bbd3f5026c4ab5661931b40d14c767 Mon Sep 17 00:00:00 2001 From: Max Nikulin Date: Wed, 14 Sep 2022 22:55:28 +0700 Subject: [PATCH 2/2] ol.el: Mention that `org-insert-link' may edit existing link * lisp/ol.el (org-insert-link): Add completion by description and edit link features to the docstring. --- lisp/ol.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/ol.el b/lisp/ol.el index 8f700397e..39d644025 100644 --- a/lisp/ol.el +++ b/lisp/ol.el @@ -1777,6 +1777,9 @@ The history can be used to select a link previously stored with press `RET' at the prompt), the link defaults to the most recently stored link. As `SPC' triggers completion in the minibuffer, you need to use `M-SPC' or `C-q SPC' to force the insertion of a space character. +Completion candidates include link descriptions. + +If there is a link under cursor then edit it. You will also be prompted for a description, and if one is given, it will be displayed in the buffer instead of the link. -- 2.25.1