diff --git a/lisp/org.el b/lisp/org.el index 56c2b6a7d..4a037fece 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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)