Sfoglia il codice sorgente

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.
Jambunathan K 14 anni fa
parent
commit
c1b8f41c37
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      lisp/org.el

+ 1 - 0
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)