unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [Emacs-diffs] /srv/bzr/emacs/trunk r101085: Save window excursion before prompting in copyright-update-* (Bug#5394).
       [not found] <E1OkQuk-0001cK-NI@internal.in.savannah.gnu.org>
@ 2010-08-16 11:17 ` Stefan Monnier
  0 siblings, 0 replies; only message in thread
From: Stefan Monnier @ 2010-08-16 11:17 UTC (permalink / raw)
  To: Chong Yidong; +Cc: emacs-devel

> +	      (save-window-excursion
> +		(switch-to-buffer (current-buffer))

switch-to-buffer may signal an error in older versions of Emacs and it
may open up new frames (which won't be deleted by save-window-excursion)
in newer versions.


        Stefan "save-window-excursion is 'always' wrong"



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-08-16 11:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1OkQuk-0001cK-NI@internal.in.savannah.gnu.org>
2010-08-16 11:17 ` [Emacs-diffs] /srv/bzr/emacs/trunk r101085: Save window excursion before prompting in copyright-update-* (Bug#5394) Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).