aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
authorDmitry Antipov2014-06-23 08:11:29 +0400
committerDmitry Antipov2014-06-23 08:11:29 +0400
commit200fc9496f7e2d53610e31634fdcd750d1870279 (patch)
tree50114538abd0729d13d05e95a3f48dbb742f5528 /src/term.c
parent33848c48a5e8823f44994624443fabdf615292dc (diff)
downloademacs-200fc9496f7e2d53610e31634fdcd750d1870279.tar.gz
emacs-200fc9496f7e2d53610e31634fdcd750d1870279.zip
Simplify and cleanup character conversion stuff.
* lisp.h (multibyte_char_to_unibyte, multibyte_char_to_unibyte_safe): Remove prototypes. * character.c (multibyte_char_to_unibyte) (multibyte_char_to_unibyte_safe): Remove; no longer used. * character.h (make_char): Remove; unused. (CHAR_TO_BYTE8, CHAR_TO_BYTE_SAFE): Simplify. (ASCII_BYTE_P): Remove; ASCII_CHAR_P does the same thing. * buffer.c, charset.c, charset.h, cmds.c, coding.c, editfns.c: * fileio.c, indent.c, insdel.c, keyboard.c, lread.c, print.c: * search.c, term.c, xdisp.c, xterm.c: Related users changed.
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c
index 642907979aa..d4bb7e1bd32 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1861,7 +1861,7 @@ produce_glyphless_glyph (struct it *it, Lisp_Object acronym)
1861 acronym = XCDR (acronym); 1861 acronym = XCDR (acronym);
1862 buf[0] = '['; 1862 buf[0] = '[';
1863 str = STRINGP (acronym) ? SSDATA (acronym) : ""; 1863 str = STRINGP (acronym) ? SSDATA (acronym) : "";
1864 for (len = 0; len < 6 && str[len] && ASCII_BYTE_P (str[len]); len++) 1864 for (len = 0; len < 6 && str[len] && ASCII_CHAR_P (str[len]); len++)
1865 buf[1 + len] = str[len]; 1865 buf[1 + len] = str[len];
1866 buf[1 + len] = ']'; 1866 buf[1 + len] = ']';
1867 len += 2; 1867 len += 2;