[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/print.c
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/src/print.c |
Date: |
Sun, 03 Mar 2002 15:04:18 -0500 |
Index: emacs/src/print.c
diff -c emacs/src/print.c:1.172 emacs/src/print.c:1.173
*** emacs/src/print.c:1.172 Wed Jan 2 08:27:22 2002
--- emacs/src/print.c Sun Mar 3 15:04:17 2002
***************
*** 1429,1439 ****
PRINTCHAR ('\\');
PRINTCHAR ('f');
}
! else if (multibyte && ! ASCII_BYTE_P (c)
! && print_escape_multibyte)
{
/* When multibyte is disabled,
! print multibyte string chars using hex escapes. */
unsigned char outbuf[50];
sprintf (outbuf, "\\x%x", c);
strout (outbuf, -1, -1, printcharfun, 0);
--- 1429,1443 ----
PRINTCHAR ('\\');
PRINTCHAR ('f');
}
! else if (multibyte
! && ! ASCII_BYTE_P (c)
! && (SINGLE_BYTE_CHAR_P (c) || print_escape_multibyte))
{
/* When multibyte is disabled,
! print multibyte string chars using hex escapes.
! For a char code that could be in a unibyte string,
! when found in a multibyte string, always use a hex escape
! so it reads back as multibyte. */
unsigned char outbuf[50];
sprintf (outbuf, "\\x%x", c);
strout (outbuf, -1, -1, printcharfun, 0);
- [Emacs-diffs] Changes to emacs/src/print.c,
Richard M. Stallman <=