Function: help--load-prefixes

help--load-prefixes is a byte-compiled function defined in help-fns.el.gz.

Signature

(help--load-prefixes PREFIXES)

Source Code

;; Defined in /usr/src/emacs/lisp/help-fns.el.gz
(defun help--load-prefixes (prefixes)
  (pcase-dolist (`(,prefix . ,files) prefixes)
    (setq help-definition-prefixes
          (radix-tree-insert help-definition-prefixes prefix nil))
    (dolist (file files)
      ;; FIXME: Should we scan help-definition-prefixes to remove
      ;; other prefixes of the same file?
      (unless (help--loaded-p file)
        (with-demoted-errors "while loading: %S"
          (load file 'noerror 'nomessage))))))