Variable: org-link-search-must-match-exact-headline
org-link-search-must-match-exact-headline is a customizable variable
defined in ol.el.gz.
Value
query-to-create
Documentation
Control fuzzy link behavior when specific matches not found.
When nil, if a fuzzy link does not match a more specific
target (such as a heading, named block, target, or code ref),
attempt a regular text search. When set to the special value
query-to-create, offer to create a new heading matching the
link instead. Otherwise, signal an error rather than attempting
a regular text search.
This option only affects behavior in Org buffers. Spaces and statistics cookies are ignored during heading searches.
This variable was added, or its default value changed, in Emacs 24.1.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ol.el.gz
(defcustom org-link-search-must-match-exact-headline 'query-to-create
"Control fuzzy link behavior when specific matches not found.
When nil, if a fuzzy link does not match a more specific
target (such as a heading, named block, target, or code ref),
attempt a regular text search. When set to the special value
`query-to-create', offer to create a new heading matching the
link instead. Otherwise, signal an error rather than attempting
a regular text search.
This option only affects behavior in Org buffers. Spaces and
statistics cookies are ignored during heading searches."
:group 'org-link-follow
:version "24.1"
:type '(choice
(const :tag "Use fuzzy text search" nil)
(const :tag "Match only exact headline" t)
(const :tag "Match exact headline or query to create it"
query-to-create))
:safe #'symbolp)