diff options
| author | Noam Postavsky | 2017-04-01 17:54:26 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2017-04-06 18:50:54 -0400 |
| commit | 856ec9ffa1fb4ff7e992b25bb0614ae168d5531e (patch) | |
| tree | bb3b77b317d705f78e58d23cde0bcc306fea95d9 | |
| parent | 849a0aaa1c9352a1bf06f4fa3369e8ed02c6b438 (diff) | |
| download | emacs-856ec9ffa1fb4ff7e992b25bb0614ae168d5531e.tar.gz emacs-856ec9ffa1fb4ff7e992b25bb0614ae168d5531e.zip | |
* src/xdisp.c (vmessage, message): Clarify commentary.
| -rw-r--r-- | src/xdisp.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 9ecfb86401d..c6f85665232 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -10470,9 +10470,12 @@ message_with_string (const char *m, Lisp_Object string, bool log) | |||
| 10470 | /* Dump an informative message to the minibuf. If M is 0, clear out | 10470 | /* Dump an informative message to the minibuf. If M is 0, clear out |
| 10471 | any existing message, and let the mini-buffer text show through. | 10471 | any existing message, and let the mini-buffer text show through. |
| 10472 | 10472 | ||
| 10473 | The message must be safe ASCII and the format must not contain ` or | 10473 | The message must be safe ASCII (because when Emacs is |
| 10474 | '. If your message and format do not fit into this category, | 10474 | non-interactive the message is sent straight to stderr without |
| 10475 | convert your arguments to Lisp objects and use Fmessage instead. */ | 10475 | encoding first) and the format must not contain ` or ' (because |
| 10476 | this function does not account for `text-quoting-style'). If your | ||
| 10477 | message and format do not fit into this category, convert your | ||
| 10478 | arguments to Lisp objects and use Fmessage instead. */ | ||
| 10476 | 10479 | ||
| 10477 | static void ATTRIBUTE_FORMAT_PRINTF (1, 0) | 10480 | static void ATTRIBUTE_FORMAT_PRINTF (1, 0) |
| 10478 | vmessage (const char *m, va_list ap) | 10481 | vmessage (const char *m, va_list ap) |
| @@ -10530,6 +10533,7 @@ vmessage (const char *m, va_list ap) | |||
| 10530 | } | 10533 | } |
| 10531 | } | 10534 | } |
| 10532 | 10535 | ||
| 10536 | /* See vmessage for restrictions on the text of the message. */ | ||
| 10533 | void | 10537 | void |
| 10534 | message (const char *m, ...) | 10538 | message (const char *m, ...) |
| 10535 | { | 10539 | { |