all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.