|
From: | Elias Mårtenson |
Subject: | Re: goto-char doesn't stick |
Date: | Wed, 14 Jun 2017 18:02:22 +0800 |
On Jun 14 2017, Elias Mårtenson <address@hidden> wrote:
> Assuming the cursor is at some random position in buffer "z", The SLIME
> code essentially does the following to move the cursor to a given location:
>
> (progn
> (set-buffer "z")
> (goto-char LOCATION))
You should put that inside save-excursion.
[Prev in Thread] | Current Thread | [Next in Thread] |