Function: org-babel--write-temp-buffer-input-file

org-babel--write-temp-buffer-input-file is a byte-compiled function defined in ob-eval.el.gz.

Signature

(org-babel--write-temp-buffer-input-file INPUT-FILE)

Documentation

Write the contents of the current temp buffer into INPUT-FILE.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-eval.el.gz
(defun org-babel--write-temp-buffer-input-file (input-file)
  "Write the contents of the current temp buffer into INPUT-FILE."
  (let ((start (point-min))
        (end (point-max)))
    (goto-char start)
    (push-mark (point) 'nomsg)
    (write-region start end input-file)
    (delete-region start end)
    (exchange-point-and-mark)))