|
From: Martin R. <ru...@us...> - 2004-08-10 01:45:04
|
Update of /cvsroot/foo/fooelk/lib/readline In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5886 Modified Files: completion.c readline.c Log Message: moved setting of rl_readline_name to readline.c, added function pointer cast to (rl_compentry_func_t *) Index: readline.c =================================================================== RCS file: /cvsroot/foo/fooelk/lib/readline/readline.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** readline.c 7 Aug 2004 08:56:26 -0000 1.2 --- readline.c 10 Aug 2004 01:44:56 -0000 1.3 *************** *** 167,170 **** --- 167,171 ---- _cont_prompt = "> "; using_history(); + rl_readline_name = "fooelk"; Def_Prim(P_Readline_Read, "readline-read", 0, 0, EVAL); Index: completion.c =================================================================== RCS file: /cvsroot/foo/fooelk/lib/readline/completion.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** completion.c 7 Aug 2004 08:56:26 -0000 1.4 --- completion.c 10 Aug 2004 01:44:56 -0000 1.5 *************** *** 108,112 **** if (rl_line_buffer[start - 1] != '"') { ! matches = rl_completion_matches(text, erl_symbol_complete); } --- 108,112 ---- if (rl_line_buffer[start - 1] != '"') { ! matches = rl_completion_matches(text, (rl_compentry_func_t *)erl_symbol_complete); } |