|
From: | Jan Djärv |
Subject: | Re: address@hidden: compilation-previous-error fails if first error is at start of buffer] |
Date: | Mon, 08 Jan 2007 18:37:45 +0100 |
User-agent: | Thunderbird 1.5.0.9 (Macintosh/20061207) |
Stefan Monnier skrev:
Yes there is a reason. Compilation mode uses previous-single-property-change to scan backwards to find the correct position to go to. But if a line begins at buffer start, there is no property change and previous-single-property-change return nil.Can't it be fixed to handle the case where previous-single-property-change returns nil?
Maybe, but AFAIK it uses that return value to determine if the error message is the first one.
Jan D.
[Prev in Thread] | Current Thread | [Next in Thread] |