Function: hload-path--make-directory-autoloads-in-sync-subprocess
hload-path--make-directory-autoloads-in-sync-subprocess is a
byte-compiled function defined in hload-path.el.
Signature
(hload-path--make-directory-autoloads-in-sync-subprocess DIRS OUTPUT-FILE)
Documentation
Make autoloads in a synchronous subprocess for directories DIRS.
The autoloads will be written to OUTPUT-FILE. Use loaddefs-generate
if available or fallback to make-directory-autoloads, defined since
Emacs 28.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260822.1645/hload-path.el
(defun hload-path--make-directory-autoloads-in-sync-subprocess (dirs output-file)
"Make autoloads in a synchronous subprocess for directories DIRS.
The autoloads will be written to OUTPUT-FILE. Use `loaddefs-generate'
if available or fallback to `make-directory-autoloads', defined since
Emacs 28."
(call-process (expand-file-name invocation-name invocation-directory)
nil nil nil
"--batch"
"--eval" (format "(%S '%S %S)"
(cond ((fboundp 'loaddefs-generate)
#'loaddefs-generate)
(t
#'make-directory-autoloads))
dirs output-file)))