GNU bug report logs - #5924
23.1; accept-process-output switching current-buffer

Previous Next

Package: emacs;

Reported by: Uday S Reddy <u.s.reddy <at> cs.bham.ac.uk>

Date: Sat, 10 Apr 2010 21:25:02 UTC

Severity: normal

Tags: fixed

Fixed in version 24.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 5924 <at> debbugs.gnu.org (full text, mbox):

From: bojohan <at> gnu.org (Johan Bockgård)
To: 5924 <at> debbugs.gnu.org
Subject: Re: bug#5924: 23.1; accept-process-output switching current-buffer
Date: Mon, 12 Apr 2010 00:47:47 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> +  /* There's no good reason to let sentinels change the current
> +     buffer, and many callers of accept-process-output, sit-for, and
> +     friends don't expect current-buffer to be changed from under them.  */
> +  record_unwind_protect (Fset_buffer, Fcurrent_buffer ());

set_buffer_if_live?




This bug report was last modified 13 years and 252 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.