help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: simple function to prepend a string to a file --> SOLUTION


From: harven
Subject: Re: simple function to prepend a string to a file --> SOLUTION
Date: Sat, 18 Apr 2009 19:15:10 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin)

bojohan+news@dd.chalmers.se (Johan Bockgård) writes:

> harven <harven@free.fr> writes:
>
>> (point-min) goes to the beginning of the accessible part of the
>> buffer, if the buffer is narrowed.
>
> (goto-char 1) does the same.

Ack ! Then I don't know why I used (goto-char (point-min))
instead of (goto-char 1) all these years. 



reply via email to

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