Function: comint-append-output-to-file
comint-append-output-to-file is an interactive and byte-compiled
function defined in comint.el.gz.
Signature
(comint-append-output-to-file FILENAME)
Documentation
Append output from interpreter since last input to FILENAME.
Any prompt at the end of the output is not written.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/comint.el.gz
;; This function exists for the benefit of the menu; from the keyboard,
;; users can just use `comint-write-output' with a prefix arg.
(defun comint-append-output-to-file (filename)
"Append output from interpreter since last input to FILENAME.
Any prompt at the end of the output is not written."
(interactive "fAppend output to file: " comint-mode)
(comint-write-output filename t))