unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Is there an ELisp function for reading file contents in a string?
@ 2008-02-06 13:11 stephan.zimmer
  2008-02-06 15:13 ` Juanma Barranquero
       [not found] ` <mailman.7038.1202310789.18990.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: stephan.zimmer @ 2008-02-06 13:11 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

does anybody know whether there is a function in elisp that just reads
the contents of a text file into a string?

So far, I haven't found anything that could be related to that. The
only, yet not very charming, possibility that I currently see is to
use the "insert-file" function in combination with the "buffer-
(sub)string" function and later erase the inserted file contents
again.

Thanks very much,
  Stephan


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-02-06 22:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-06 13:11 Is there an ELisp function for reading file contents in a string? stephan.zimmer
2008-02-06 15:13 ` Juanma Barranquero
     [not found] ` <mailman.7038.1202310789.18990.help-gnu-emacs@gnu.org>
2008-02-06 16:07   ` stephan.zimmer
2008-02-06 18:22   ` Ted Zlatanov
2008-02-06 22:52     ` Juanma Barranquero

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).