# HG changeset patch # User Rafael Laboissiere # Date 1209971524 14400 # Node ID 9fd25188cfe1b9163477d212007b61ee2e88e7fa # Parent a584b4bdb5c6858c65713cb7224b9905495fd821 Load the default inputrc when calling read_readline_init_file() diff -r a584b4bdb5c6 -r 9fd25188cfe1 liboctave/ChangeLog --- a/liboctave/ChangeLog Sun May 04 23:48:49 2008 -0400 +++ b/liboctave/ChangeLog Mon May 05 03:12:04 2008 -0400 @@ -1,3 +1,7 @@ +2008-05-05 Rafael Laboissiere + + * oct-rl-edit.c (octave_read_init_file): Simply call rl_read_init_file. + 2008-04-24 Michael Goffioul * lo-sysdep.cc (octave_popen2): Don't set PIPE_NOWAIT for parentWrite. diff -r a584b4bdb5c6 -r 9fd25188cfe1 liboctave/oct-rl-edit.c --- a/liboctave/oct-rl-edit.c Sun May 04 23:48:49 2008 -0400 +++ b/liboctave/oct-rl-edit.c Mon May 05 03:12:04 2008 -0400 @@ -194,10 +194,7 @@ void octave_rl_read_init_file (const char *f) { - if (f && *f) - rl_read_init_file (f); - else - rl_re_read_init_file (0, 0); + rl_read_init_file (f); } int