diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index f37254419eb..6fd3945511b 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -8444,6 +8444,24 @@ message (const char *m, ...) | |||
| 8444 | } | 8444 | } |
| 8445 | 8445 | ||
| 8446 | 8446 | ||
| 8447 | #if 0 | ||
| 8448 | /* The non-logging version of message. */ | ||
| 8449 | |||
| 8450 | void | ||
| 8451 | message_nolog (const char *m, ...) | ||
| 8452 | { | ||
| 8453 | Lisp_Object old_log_max; | ||
| 8454 | va_list ap; | ||
| 8455 | va_start (ap, m); | ||
| 8456 | old_log_max = Vmessage_log_max; | ||
| 8457 | Vmessage_log_max = Qnil; | ||
| 8458 | vmessage (m, ap); | ||
| 8459 | Vmessage_log_max = old_log_max; | ||
| 8460 | va_end (ap); | ||
| 8461 | } | ||
| 8462 | #endif | ||
| 8463 | |||
| 8464 | |||
| 8447 | /* Display the current message in the current mini-buffer. This is | 8465 | /* Display the current message in the current mini-buffer. This is |
| 8448 | only called from error handlers in process.c, and is not time | 8466 | only called from error handlers in process.c, and is not time |
| 8449 | critical. */ | 8467 | critical. */ |