* org.el (org-link-search): Return 'dedicated on successful match when org-link-search-must-match-exact-headline is set to t.
@@ -9428,6 +9428,7 @@ in all files. If AVOID-POS is given, ignore matches near that position."
(regexp-quote s))
nil t))
;; OK, found a match
+ (setq type 'dedicated)
(goto-char (match-beginning 0)))
((and (not org-link-search-inhibit-query)
(eq org-link-search-must-match-exact-headline 'query-to-create)