]> git.eshelyaron.com Git - emacs.git/commitdiff
In NEWS give advice on use of `switch-to-buffer' (Bug#28645)
authorMartin Rudalics <rudalics@gmx.at>
Tue, 17 Oct 2017 08:24:54 +0000 (10:24 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Tue, 17 Oct 2017 08:24:54 +0000 (10:24 +0200)
* etc/NEWS: Mention that applications should prefer
`pop-to-buffer-same-window' to `switch-to-buffer'.  (Bug#28645)

etc/NEWS

index d995a3dded0e422917a78ba10b1567e67a9d7697..b40d578e5fac894c6067ce89043dab8489044106 100644 (file)
--- 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