null+****@clear*****
null+****@clear*****
2011年 7月 6日 (水) 10:31:55 JST
Kouhei Sutou 2011-07-06 01:31:55 +0000 (Wed, 06 Jul 2011) New Revision: da98ba8e8765ea72ede11e5c6dc9052bd07f3bdb Log: [libedit] support ~/.editrc. Modified files: src/groonga.c Modified: src/groonga.c (+1 -0) =================================================================== --- src/groonga.c 2011-07-06 01:28:22 +0000 (979b16a) +++ src/groonga.c 2011-07-06 01:31:55 +0000 (b033f89) @@ -2296,6 +2296,7 @@ main(int argc, char **argv) el_wset(edit_line, EL_PROMPT, &disp_prompt); el_wset(edit_line, EL_EDITOR, L"emacs"); el_wset(edit_line, EL_HIST, history_w, command_history); + el_source(edit_line, NULL); } #endif if (grn_init()) { return -1; }