aboutsummaryrefslogtreecommitdiffstats
path: root/src/character.c
diff options
context:
space:
mode:
authorJuanma Barranquero2011-03-29 00:41:01 +0200
committerJuanma Barranquero2011-03-29 00:41:01 +0200
commit461c2ab9a5a244ec9a1b253d07c1a8bdfbd8c573 (patch)
treea702b0c29ce32e78717be01c112889684a0453f6 /src/character.c
parentf6d6298639ae43539581c2079666d76a54f1557e (diff)
downloademacs-461c2ab9a5a244ec9a1b253d07c1a8bdfbd8c573.tar.gz
emacs-461c2ab9a5a244ec9a1b253d07c1a8bdfbd8c573.zip
src/*.c: Remove some additional unused parameters.
* lisp.h (multibyte_char_to_unibyte): * character.c (multibyte_char_to_unibyte): Remove parameter `rev_tbl', unused since 2002-03-01T01:16:34Z!handa@m17n.org and 2008-02-01T16:01:31Z!miles@gnu.org. * character.h (CHAR_TO_BYTE8): * cmds.c (internal_self_insert): * editfns.c (general_insert_function): * keymap.c (push_key_description): * search.c (Freplace_match): * xdisp.c (message_dolog, set_message_1): All callers changed. * coding.c (encode_designation_at_bol): Remove parameter `charbuf_end', unused since 2002-03-01T01:17:24Z!handa@m17n.org and 2008-02-01T16:01:31Z!miles@gnu.org. All callers changed.
Diffstat (limited to 'src/character.c')
-rw-r--r--src/character.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/character.c b/src/character.c
index fdaf22f04f8..41c692e7483 100644
--- a/src/character.c
+++ b/src/character.c
@@ -232,13 +232,10 @@ translate_char (Lisp_Object table, int c)
232} 232}
233 233
234/* Convert ASCII or 8-bit character C to unibyte. If C is none of 234/* Convert ASCII or 8-bit character C to unibyte. If C is none of
235 them, return (C & 0xFF). 235 them, return (C & 0xFF). */
236
237 The argument REV_TBL is now ignored. It will be removed in the
238 future. */
239 236
240int 237int
241multibyte_char_to_unibyte (int c, Lisp_Object rev_tbl) 238multibyte_char_to_unibyte (int c)
242{ 239{
243 if (c < 0x80) 240 if (c < 0x80)
244 return c; 241 return c;