]> git.eshelyaron.com Git - emacs.git/commitdiff
* xdisp.c (message_nolog): Bring this back, inside "#if 0".
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 10 Apr 2011 02:27:15 +0000 (19:27 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 10 Apr 2011 02:27:15 +0000 (19:27 -0700)
See <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8435#26>.

src/xdisp.c

index f37254419eb696dcfe12e4240bed7870aa521038..6fd3945511ba01927d39c795bdd2479b78b7e1de 100644 (file)
@@ -8444,6 +8444,24 @@ message (const char *m, ...)
 }
 
 
+#if 0
+/* The non-logging version of message.  */
+
+void
+message_nolog (const char *m, ...)
+{
+  Lisp_Object old_log_max;
+  va_list ap;
+  va_start (ap, m);
+  old_log_max = Vmessage_log_max;
+  Vmessage_log_max = Qnil;
+  vmessage (m, ap);
+  Vmessage_log_max = old_log_max;
+  va_end (ap);
+}
+#endif
+
+
 /* Display the current message in the current mini-buffer.  This is
    only called from error handlers in process.c, and is not time
    critical.  */