Function: dirvish--make-proc
dirvish--make-proc is a natively compiled function defined in
dirvish.el.
Signature
(dirvish--make-proc FORM SENTINEL BUFFER-OR-NAME &rest PUTS)
Documentation
Make process for shell or batch FORM in BUFFER-OR-NAME.
Set process's SENTINEL and PUTS accordingly.
Source Code
;; Defined in /nix/store/1gijwny2yx4fggrsb9l110h1ybs1gdk5-emacs-packages-deps/share/emacs/site-lisp/elpa/dirvish-20260725.1520/dirvish.el
(defun dirvish--make-proc (form sentinel buffer-or-name &rest puts)
"Make process for shell or batch FORM in BUFFER-OR-NAME.
Set process's SENTINEL and PUTS accordingly."
(let* ((buf (or buffer-or-name (make-temp-name "*dirvish-batch*")))
(print-length nil) (print-level nil)
(cmd (if (stringp (car form)) form
(list dirvish-emacs-bin
"-Q" "-batch" "--eval" (prin1-to-string form))))
(proc (make-process :name "dirvish" :connection-type nil :buffer buf
:command cmd :sentinel sentinel :noquery t)))
(while-let ((k (pop puts)) (v (pop puts))) (process-put proc k v))))