Variable: org-link-keep-stored-after-insertion

org-link-keep-stored-after-insertion is a customizable variable defined in ol.el.gz.

Value

nil

Documentation

Non-nil means keep link in list for entire session.

The command org-store-link adds a link pointing to the current location to an internal list. These links accumulate during a session. The command org-insert-link can be used to insert links into any Org file (offering completion for all stored links).

When this option is nil, every link which has been inserted once using C-c C-l (org-insert-link) will be removed from the list, to make completing the unused links more efficient.

Aliases

org-keep-stored-link-after-insertion (obsolete since 9.3)

Source Code

;; Defined in /usr/src/emacs/lisp/org/ol.el.gz
(defcustom org-link-keep-stored-after-insertion nil
  "Non-nil means keep link in list for entire session.
\\<org-mode-map>
The command `org-store-link' adds a link pointing to the current
location to an internal list.  These links accumulate during a session.
The command `org-insert-link' can be used to insert links into any
Org file (offering completion for all stored links).

When this option is nil, every link which has been inserted once using
`\\[org-insert-link]' will be removed from the list, to make completing the \
unused
links more efficient."
  :group 'org-link-store
  :type 'boolean
  :safe #'booleanp)