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
Non-nil means internal fuzzy links can only match headlines.
When nil, the fuzzy link may point to a target or a named
construct in the document. When set to the special value
query-to-create, offer to create a new headline when none
matched.
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
"Non-nil means internal fuzzy links can only match headlines.
When nil, the fuzzy link may point to a target or a named
construct in the document. When set to the special value
`query-to-create', offer to create a new headline when none
matched.
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)