[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: point-min and 1

From: Stefan Monnier
Subject: Re: point-min and 1
Date: Tue, 11 Aug 2009 11:13:55 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

>> ;; Move to the specified line number in that buffer.
>> (save-restriction
>> (widen)
>> -    (goto-char 1)
>> +    (goto-char (point-min))

> Can `(goto-char (point-min))' be different from `(goto-char 1)' after
> a call to `widen'?

No, indeed it can't in Emacs, which is why the change is guaranteed to
be correct.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]