emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/buffer.c,v


From: Kim F. Storm
Subject: [Emacs-diffs] Changes to emacs/src/buffer.c,v
Date: Fri, 13 Apr 2007 12:52:00 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Kim F. Storm <kfstorm>  07/04/13 12:52:00

Index: buffer.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/buffer.c,v
retrieving revision 1.525
retrieving revision 1.526
diff -u -b -r1.525 -r1.526
--- buffer.c    29 Mar 2007 15:58:34 -0000      1.525
+++ buffer.c    13 Apr 2007 12:52:00 -0000      1.526
@@ -1458,7 +1458,16 @@
   unlock_buffer (b);
 #endif /* CLASH_DETECTION */
 
+  GCPRO1 (buf);
   kill_buffer_processes (buf);
+  UNGCPRO;
+
+  /* Killing buffer processes may run sentinels which may
+     have called kill-buffer.  */
+
+  if (NILP (b->name))
+    return Qnil;
+
   clear_charpos_cache (b);
 
   tem = Vinhibit_quit;




reply via email to

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