пн, 30 нояб. 2020 г. в 20:30, martin rudalics : > > 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? > > Sure, here it is Probably same should be done for `switch-to-buffer-obey-display-actions', but at the moment I care more about `switch-to-buffer-preserve-window-point' -- lg