|
From: | Elias Mårtenson |
Subject: | Re: goto-char doesn't stick |
Date: | Wed, 14 Jun 2017 18:30:53 +0800 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |