diff options
| author | Gerd Moellmann | 2001-09-10 08:23:27 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-09-10 08:23:27 +0000 |
| commit | f4a374a158323825660f74abb70dbd6710524dd0 (patch) | |
| tree | 33c23b850608cda5559c0e430be6433e47940bf8 /src | |
| parent | caae20c74105a60dd36d9b4c382e4f1d37db5997 (diff) | |
| download | emacs-f4a374a158323825660f74abb70dbd6710524dd0.tar.gz emacs-f4a374a158323825660f74abb70dbd6710524dd0.zip | |
(Ftrace_to_stderr) [GLYPH_DEBUG]: Take args like
`format'.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/xdisp.c | 13 |
2 files changed, 12 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d99c18ee0df..312b90af4c4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2001-09-10 Gerd Moellmann <gerd@gnu.org> | ||
| 2 | |||
| 3 | * xdisp.c (Ftrace_to_stderr) [GLYPH_DEBUG]: Take args like | ||
| 4 | `format'. | ||
| 5 | |||
| 1 | 2001-09-10 Richard M. Stallman <rms@gnu.org> | 6 | 2001-09-10 Richard M. Stallman <rms@gnu.org> |
| 2 | 7 | ||
| 3 | * frame.c (Fmouse_position): Doc fix. | 8 | * frame.c (Fmouse_position): Doc fix. |
diff --git a/src/xdisp.c b/src/xdisp.c index 4f906483c93..01543b8ecbd 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -12165,13 +12165,14 @@ With ARG, turn tracing on if and only if ARG is positive.") | |||
| 12165 | } | 12165 | } |
| 12166 | 12166 | ||
| 12167 | 12167 | ||
| 12168 | DEFUN ("trace-to-stderr", Ftrace_to_stderr, Strace_to_stderr, 1, 1, "", | 12168 | DEFUN ("trace-to-stderr", Ftrace_to_stderr, Strace_to_stderr, 1, MANY, "", |
| 12169 | "Print STRING to stderr.") | 12169 | "Like `format', but print result to stderr.") |
| 12170 | (string) | 12170 | (nargs, args) |
| 12171 | Lisp_Object string; | 12171 | int nargs; |
| 12172 | Lisp_Object *args; | ||
| 12172 | { | 12173 | { |
| 12173 | CHECK_STRING (string, 0); | 12174 | Lisp_Object s = Fformat (nargs, args); |
| 12174 | fprintf (stderr, "%s", XSTRING (string)->data); | 12175 | fprintf (stderr, "%s", XSTRING (s)->data); |
| 12175 | return Qnil; | 12176 | return Qnil; |
| 12176 | } | 12177 | } |
| 12177 | 12178 | ||