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

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

Re: Repositioning point to buffer beginning


From: Jean Louis
Subject: Re: Repositioning point to buffer beginning
Date: Sat, 22 Oct 2022 09:50:15 +0300
User-agent: Mutt/2.2.7+37 (a90f69b) (2022-09-02)

* Heime via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> 
[2022-10-22 05:30]:
> I am printing a list in a buffer, calling it many times with
> 
> (viewer (people "World" 'beg)
> 
> (viewer (animals "World" 'beg)
> 
> (viewer (places "World" 'beg)
> 
> The problem is that if I place point somewhere in the World buffer, point
> is not repositioned at the beginning of the buffer everytime viewer
> is called.

You may use function `goto-char', or (goto-char (point-min))


-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



reply via email to

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