[Top][All Lists]

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

Re: goto-char doesn't stick

From: Stefan Monnier
Subject: Re: goto-char doesn't stick
Date: Thu, 15 Jun 2017 02:59:12 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

>> (progn
>> (set-buffer "z")
>> (goto-char LOCATION))
> It's a feature, new in Emacs 26.  If you don't like it, turn off
> switch-to-buffer-preserve-window-point.

Really?  Why would set-buffer+goto-char be affected by a variable named
switch-to-buffer-* ?

To me it sounds like Noam is right: Elias just needs to set-window-point
instead of goto-char (or additionally to, if he needs goto-char for some
other reason).


reply via email to

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