|
From: | Oleh Krehel |
Subject: | Re: [Emacs-diffs] scratch/check-declare 1d5cdf1 2/2: check-declare.el: Use compilation-style warnings |
Date: | Sat, 14 Feb 2015 11:36:56 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Artur Malabarba <address@hidden> 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.
[Prev in Thread] | Current Thread | [Next in Thread] |