changeset 35174:96c7c0a356aa

(push_message_unwind): New function.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 09 Jan 2001 13:45:38 +0000
parents 587912b40df2
children e5a437efe234
files src/xdisp.c
diffstat 1 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Tue Jan 09 13:45:04 2001 +0000
+++ b/src/xdisp.c	Tue Jan 09 13:45:38 2001 +0000
@@ -1,5 +1,5 @@
 /* Display generation from window structure and buffer text.
-   Copyright (C) 1985, 86, 87, 88, 93, 94, 95, 97, 98, 99, 2000
+   Copyright (C) 1985, 86, 87, 88, 93, 94, 95, 97, 98, 99, 2000, 2001
    Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
@@ -6363,6 +6363,17 @@
 }
 
 
+/* Handler for record_unwind_protect calling pop_message.  */
+
+Lisp_Object
+push_message_unwind (dummy)
+     Lisp_Object dummy;
+{
+  pop_message ();
+  return Qnil;
+}
+
+
 /* Restore message display from the top of Vmessage_stack.  */
 
 void