Function: markdown--wiki-link-search-types

markdown--wiki-link-search-types is a byte-compiled function defined in markdown-mode.el.

Signature

(markdown--wiki-link-search-types)

Documentation

Return a list of the currently selected search types.

Due to deprecated variables, as of markdown-mode version 2.5, the return value of this function is the same as the value of the variable markdown-wiki-link-search-type.

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown--wiki-link-search-types ()
  "Return a list of the currently selected search types.

Due to deprecated variables, as of markdown-mode version 2.5, the return value
of this function is the same as the value of the variable
`markdown-wiki-link-search-type'."
  (let ((ret (and markdown-wiki-link-search-type
                  (cl-copy-list markdown-wiki-link-search-type))))
    (when (and markdown-wiki-link-search-subdirectories
               (not (memq 'sub-directories markdown-wiki-link-search-type)))
      (push 'sub-directories ret))
    (when (and markdown-wiki-link-search-parent-directories
               (not (memq 'parent-directories markdown-wiki-link-search-type)))
      (push 'parent-directories ret))
    ret))