Function: org-export-string-to-search-cell
org-export-string-to-search-cell is a byte-compiled function defined
in ox.el.gz.
Signature
(org-export-string-to-search-cell S)
Documentation
Return search cells associated to string S.
S is either the path of a fuzzy link or a search option, i.e., it tries to match either a headline (through custom ID or title), a target or a named element.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox.el.gz
(defun org-export-string-to-search-cell (s)
"Return search cells associated to string S.
S is either the path of a fuzzy link or a search option, i.e., it
tries to match either a headline (through custom ID or title),
a target or a named element."
(pcase (string-to-char s)
(?* (list (cons 'headline (split-string (substring s 1)))))
(?# (list (cons 'custom-id (substring s 1))))
((let search (split-string s))
(list (cons 'target search) (cons 'other search)))))