diff --git a/src/ChangeLog b/src/ChangeLog index 1ff8af856..0c546f983 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +Mon Jan 18 21:23:29 1999 Paul Sheer + + * cmd.c: update_panels (UP_OPTIMIZE, UP_KEEPSEL); instead + of reread after editing a file. + 1999-01-18 Arturo Espinosa * file.c: Use N_ instead of _ for some of miguel's last tags. diff --git a/src/cmd.c b/src/cmd.c index e28152c16..beb281845 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -326,7 +326,7 @@ void do_edit_at_line (const char *what, int start_line) #ifdef USE_INTERNAL_EDIT if (use_internal_edit){ edit (what, start_line); - reread_cmd (); + update_panels (UP_OPTIMIZE, UP_KEEPSEL); return; } #endif @@ -336,7 +336,7 @@ void do_edit_at_line (const char *what, int start_line) editor = get_default_editor (); } execute_internal (editor, what); - reread_cmd (); + update_panels (UP_OPTIMIZE, UP_KEEPSEL); } void