Ok. Thanks for clarifying.

On 14 Feb 2015 10:36, "Oleh Krehel" <ohwoeowho@gmail.com> wrote:
Artur Malabarba <bruce.connor.am@gmail.com> writes:

>>> +                  (with-current-buffer (find-file-noselect file)
>>
>> Please use with-temp-buffer + insert-file-contents instead.
>
> That is, unless the file needs to stay open for some specific reason.

This file is already open - it's the file being checked currently. No
need to close it or for temp buffers.