Function: verb--load-prelude

verb--load-prelude is a natively compiled function defined in verb.el.

Signature

(verb--load-prelude PRELUDE)

Documentation

Load prelude PRELUDE from a file, or from string contents.

PRELUDE is interpreted as a filename if and only if it is a single-line string containing no parenthesis nor curly brackets.

Source Code

;; Defined in /nix/store/8jnfn8w2mxcxbr2crbklcnija9m0zlkq-emacs-packages-deps/share/emacs/site-lisp/elpa/verb-20260818.1921/verb.el
(defun verb--load-prelude (prelude)
  "Load prelude PRELUDE from a file, or from string contents.
PRELUDE is interpreted as a filename if and only if it is a single-line
string containing no parenthesis nor curly brackets."
  (if (and (= 1 (length (split-string prelude "\n")))
           (not (string-match-p "[(){}]" prelude)))
      (verb--load-prelude-from-file prelude)
    (verb--load-prelude-from-string prelude)))