[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Any exceptions for the 15-line rule?
From: |
Stefan Monnier |
Subject: |
Re: Any exceptions for the 15-line rule? |
Date: |
Sun, 05 May 2013 01:02:43 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
>> - (with-temp-buffer
>> + (buf (get-buffer-create "*clang-output*"))
>> + (with-current-buffer buf (erase-buffer))
>> + (with-current-buffer buf
> So, I've merged the patch into Git repo with some modifications, but looks
> like the above change is perfectly justified: the new code uses
> call-process-region', which takes the region from the current buffer, so
> using it with `with-temp-buffer' doesn't seem possible.
I must be missing something because I don't see why that
changes anything.
Stefan