Function: artist-file-to-string
artist-file-to-string is a byte-compiled function defined in
artist.el.gz.
Signature
(artist-file-to-string FILE-NAME)
Documentation
Read from file FILE-NAME into a string.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/artist.el.gz
(defun artist-file-to-string (file-name)
"Read from file FILE-NAME into a string."
(save-excursion
(let ((tmp-buffer (get-buffer-create (concat "*artist-" file-name "*"))))
(set-buffer tmp-buffer)
(goto-char (point-min))
(insert-file-contents file-name nil nil nil t)
(let ((str (copy-sequence (buffer-substring (point-min)
(point-max)))))
(kill-buffer tmp-buffer)
str))))