From: Martin Rudalics Date: Tue, 17 Oct 2017 08:24:54 +0000 (+0200) Subject: In NEWS give advice on use of `switch-to-buffer' (Bug#28645) X-Git-Tag: emacs-26.0.91~532 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=22adeca42a;p=emacs.git In NEWS give advice on use of `switch-to-buffer' (Bug#28645) * etc/NEWS: Mention that applications should prefer `pop-to-buffer-same-window' to `switch-to-buffer'. (Bug#28645) --- diff --git a/etc/NEWS b/etc/NEWS index d995a3dded0..b40d578e5fa 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -375,6 +375,9 @@ where you can cancel them with the 'c' command. +++ ** 'switch-to-buffer-preserve-window-point' now defaults to t. +Applications that call 'switch-to-buffer' and want to show the buffer at +the position of its point should use 'pop-to-buffer-same-window' in lieu +of 'switch-to-buffer'. +++ ** The new variable 'debugger-stack-frame-as-list' allows displaying