From: Paul Eggert Date: Wed, 6 Apr 2011 22:17:53 +0000 (-0700) Subject: * xdisp.c, lisp.h (message_nolog): Remove; unused. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~356^2~29 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=79c49ad25398ba5ef48148758fea6c582147e20e;p=emacs.git * xdisp.c, lisp.h (message_nolog): Remove; unused. --- diff --git a/src/ChangeLog b/src/ChangeLog index 1dff4e4a61b..69ab6d0ef3a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-04-06 Paul Eggert + + * xdisp.c, lisp.h (message_nolog): Remove; unused. + 2011-04-06 Eli Zaretskii * msdos.c (careadlinkat, careadlinkatcwd): MS-DOS replacements. diff --git a/src/lisp.h b/src/lisp.h index f3016d521d1..41a64d2f47d 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -2628,7 +2628,6 @@ extern Lisp_Object current_message (void); extern void set_message (const char *s, Lisp_Object, EMACS_INT, int); extern void clear_message (int, int); extern void message (const char *, ...) ATTRIBUTE_FORMAT_PRINTF (1, 2); -extern void message_nolog (const char *, ...) ATTRIBUTE_FORMAT_PRINTF (1, 2); extern void message1 (const char *); extern void message1_nolog (const char *); extern void message2 (const char *, EMACS_INT, int); diff --git a/src/xdisp.c b/src/xdisp.c index fbdd553aa51..16954d0f809 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -8434,22 +8434,6 @@ message (const char *m, ...) } -/* 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); -} - - /* Display the current message in the current mini-buffer. This is only called from error handlers in process.c, and is not time critical. */