Do not keep inserted links in history

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.
master
Daniel Borchmann 11 months ago
parent 1d107f4fd1
commit d8691928b0
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
  1. 2
      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

Loading…
Cancel
Save