From: Karl Heuer Date: Mon, 3 Apr 1995 22:10:36 +0000 (+0000) Subject: (message_nolog): New function. X-Git-Tag: emacs-19.34~4665 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6c4429a5022ada4141960825bdd34ee54938d19d;p=emacs.git (message_nolog): New function. --- diff --git a/src/xdisp.c b/src/xdisp.c index fd08f443c0f..02c71203b1d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -515,6 +515,19 @@ message (m, a1, a2, a3) } } +/* The non-logging version of that function. */ +void +message_nolog (m, a1, a2, a3) + char *m; + EMACS_INT a1, a2, a3; +{ + Lisp_Object old_log_max; + old_log_max = Vmessage_log_max; + Vmessage_log_max = Qnil; + message (m, a1, a2, a3); + Vmessage_log_max = old_log_max; +} + void update_echo_area () {