RosettaCodeData/Task/Read-entire-file/Emacs-Lisp/read-entire-file.l
2015-02-20 00:35:01 -05:00

3 lines
127 B
Common Lisp

(setq my-variable (with-temp-buffer
(insert-file-contents "foo.txt")
(buffer-string)))