help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is there an ELisp function for reading file contents in a string?


From: stephan . zimmer
Subject: Is there an ELisp function for reading file contents in a string?
Date: Wed, 6 Feb 2008 05:11:55 -0800 (PST)
User-agent: G2/1.0

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]