|
From: | Chong Yidong |
Subject: | Re: switch-to-buffer: for interactive use only |
Date: | Wed, 06 Jul 2011 17:10:59 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes: >> Was it really necessary to mark switch-to-buffer "for interactive use >> only"? It's a pretty basic command that was used in ~ 800 places in the >> Emacs 23.3 sources. > > Most of those calls were bugs waiting to catch you in Emacs<23 ("you" > being typically a user like myself who uses dedicated windows and/or > minibuffer-only frames). How would you change this? (defun unbury-buffer () "Switch to the last buffer in the buffer list." (interactive) (switch-to-buffer (last-buffer)))
[Prev in Thread] | Current Thread | [Next in Thread] |