Emacs Lisp: file-to-list function reads file line by line into a list
This Emacs Lisp function reads file line by line and returns list of lines. This may be handy when lines of the file need to be processed.
There may be better versions of this function, this is simple enough and satisfies my needs.
defun file-to-list (file) ("Return a list of lines of a file" (with-temp-buffer (insert-file-contents file)"\n" t))) (split-string (buffer-string)
You are welcome to tell me any better version!
Contact GNU.Support now. There is a simple rule at GNU.Support: if we can help you, we do, whenever and wherever necessary, and it's the way we've been doing business since 2002, and the only way we know