From d8691928b0ff77b4f2d82b86baa48640d2652326 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Wed, 8 Sep 2021 17:57:09 +0200 Subject: [PATCH] Do not keep inserted links in history MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When keeping old links around, it may happen that adding another link is already present in `org-stored-links`. In that case, only a message is displayed (“This link already exists”), but the link itself is not pushed to the front of the link history. A subsequent insertion of the link then requires manual selection of the desired target, resulting in massive interruptions of the current flow. --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.el b/init.el index f25c5f2..5466564 100644 --- a/init.el +++ b/init.el @@ -936,7 +936,7 @@ :init (setq org-download-method 'attach)) (use-package ol - :init (setq org-link-keep-stored-after-insertion t) + :init (setq org-link-keep-stored-after-insertion nil) :commands (org-store-link)) (use-package org-id