emacs-devel
[Top][All Lists]
Advanced

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

Re: goto-char doesn't stick


From: Noam Postavsky
Subject: Re: goto-char doesn't stick
Date: Wed, 14 Jun 2017 06:26:29 -0400

On Wed, Jun 14, 2017 at 5:45 AM, Elias Mårtenson <address@hidden> wrote:
>
>     (progn
>       (set-buffer "z")
>       (goto-char LOCATION))
>
> When I do this, point doesn't move. Or rather, it does move, but after the
> conclusion of the ‘progn’ form, the cursor returns to its original location.

Is the buffer "z" visible? You probably need to set-window-point too.



reply via email to

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