emacs-devel
[Top][All Lists]
Advanced

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

Re: Buffer local `switch-to-buffer-preserve-window-point'


From: martin rudalics
Subject: Re: Buffer local `switch-to-buffer-preserve-window-point'
Date: Mon, 30 Nov 2020 18:30:38 +0100

> Ah, sorry, I thought that is in Emacs, but it was from my init.el :)),
> replace with (switch-to-buffer (other-buffer))

OK.

> The problem with their buffer local values is that they are used for buffer
> logic *before* buffer is set as current, see `switch-to-buffer'.  We should
> either use `(buffer-local-value NAME buffer)' to get their values in
> `switch-to-buffer',

Good idea.  Could you write a patch?

martin



reply via email to

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