Function: markdown-maybe-funcall-regexp

markdown-maybe-funcall-regexp is a byte-compiled function defined in markdown-mode.el.

Signature

(markdown-maybe-funcall-regexp OBJECT &optional ARG)

Source Code

;; Defined in /nix/store/p33zgg95aglc47pl6zlgs43vki0snxf8-emacs-packages-deps/share/emacs/site-lisp/elpa/markdown-mode-20260827.909/markdown-mode.el
(defsubst markdown-maybe-funcall-regexp (object &optional arg)
  (cond ((functionp object)
         (if arg (funcall object arg) (funcall object)))
        ((stringp object) object)
        (t (error "Object cannot be turned into regex"))))