emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-26 22adeca: In NEWS give advice on use of `switch-to


From: Martin Rudalics
Subject: [Emacs-diffs] emacs-26 22adeca: In NEWS give advice on use of `switch-to-buffer' (Bug#28645)
Date: Tue, 17 Oct 2017 04:25:49 -0400 (EDT)

branch: emacs-26
commit 22adeca42a9c28d5df01dcd203955191faf5de89
Author: Martin Rudalics <address@hidden>
Commit: Martin Rudalics <address@hidden>

    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 d995a3d..b40d578 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



reply via email to

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