Function: vc-cvs-file-to-string

vc-cvs-file-to-string is a byte-compiled function defined in vc-cvs.el.gz.

Signature

(vc-cvs-file-to-string FILE)

Documentation

Read the content of FILE and return it as a string.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-cvs.el.gz
(defun vc-cvs-file-to-string (file)
  "Read the content of FILE and return it as a string."
  (condition-case nil
      (with-temp-buffer
	(insert-file-contents file)
	(goto-char (point-min))
	(buffer-substring (point) (point-max)))
    (file-error nil)))