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.
This commit is contained in:
parent
1d107f4fd1
commit
d8691928b0
2
init.el
2
init.el
|
@ -936,7 +936,7 @@
|
||||||
:init (setq org-download-method 'attach))
|
:init (setq org-download-method 'attach))
|
||||||
|
|
||||||
(use-package ol
|
(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))
|
:commands (org-store-link))
|
||||||
|
|
||||||
(use-package org-id
|
(use-package org-id
|
||||||
|
|
Loading…
Reference in New Issue