diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-05-31 23:52:09 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-05-31 23:53:45 -0700 |
commit | 2c656f7deb3b192a5063151368782c2715e81051 (patch) | |
tree | 94f93fae541ca21c126c53162242ae8403b8c9f3 /src/alloc.c | |
parent | 467af178f53798e4cd102e04eb2990121eb655df (diff) | |
download | emacs-2c656f7deb3b192a5063151368782c2715e81051.tar.gz |
Avoid grave accent quoting in stderr diagnostics
A few Emacs diagnostics go directly to stderr, and so can't easily
contain curved quotes (as non-UTF-8 locales might mishandle them).
Instead of bothering to add support for this rarity, reword the
diagnostics so that they don't use grave accent to quote.
* src/alloc.c (mark_memory): Fix comment.
* src/buffer.c (init_buffer):
* src/dispnew.c (init_display):
* src/emacs.c (main, sort_args):
* src/lread.c (dir_warning):
* src/term.c (init_tty):
* src/unexmacosx.c (unexec):
* src/xfns.c (select_visual):
* src/xterm.c (cvt_string_to_pixel, x_io_error_quitter):
Reword stderr diagnostics to avoid quoting `like this'.
* src/unexmacosx.c: Include errno.h.
* src/xfns.c (select_visual): Encode value for locale.
Diffstat (limited to 'src/alloc.c')
-rw-r--r-- | src/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index 14baf291bd8..a956e95bf14 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -4775,7 +4775,7 @@ mark_memory (void *start, void *end) Lisp_Object obj = build_string ("test"); struct Lisp_String *s = XSTRING (obj); Fgarbage_collect (); - fprintf (stderr, "test `%s'\n", s->data); + fprintf (stderr, "test '%s'\n", s->data); return Qnil; } |