Function: makeinfo-compile

makeinfo-compile is a byte-compiled function defined in makeinfo.el.gz.

Signature

(makeinfo-compile COMMAND DISABLE-ERRORS SENTINEL)

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/makeinfo.el.gz
;; Actually run makeinfo.  COMMAND is the command to run.  If
;; DISABLE-ERRORS is non-nil, disable `next-error' by setting
;; `next-error-function' to `makeinfo-next-error' in the compilation
;; buffer.
(defun makeinfo-compile (command disable-errors sentinel)
  (let ((buffer (compilation-start command)))
    (with-current-buffer buffer
      (setq next-error-function
	    (if disable-errors
		'makeinfo-next-error
	      'compilation-next-error-function)))
    (set-process-sentinel (get-buffer-process buffer) sentinel)))