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: Drew Adams
Subject: RE: goto-char doesn't stick
Date: Wed, 14 Jun 2017 07:05:39 -0700 (PDT)

> >      (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...
> >
> >Has this behaviour changed recently?
> 
> It's a feature, new in Emacs 26.  If you don't like it, turn off
> switch-to-buffer-preserve-window-point.

Interesting.  But why was the default behavior changed to this
new behavior possibility?



reply via email to

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