Return 'dedicated on match when search must match exact headline
* org.el (org-link-search): Return 'dedicated on successful match when org-link-search-must-match-exact-headline is set to t.
This commit is contained in:
parent
c486572df0
commit
c1b8f41c37
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue