From 22adeca42a9c28d5df01dcd203955191faf5de89 Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Tue, 17 Oct 2017 10:24:54 +0200 Subject: [PATCH] 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) --- etc/NEWS | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.2