update_panels (UP_OPTIMIZE, UP_KEEPSEL); instead of reread after editing a file with F4

This commit is contained in:
Paul Sheer 1999-01-18 19:20:06 +00:00
parent 66eb02ef08
commit 37541330f9
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Mon Jan 18 21:23:29 1999 Paul Sheer <psheer@obsidian.co.za>
* cmd.c: update_panels (UP_OPTIMIZE, UP_KEEPSEL); instead
of reread after editing a file.
1999-01-18 Arturo Espinosa <arturo@nuclecu.unam.mx>
* file.c: Use N_ instead of _ for some of miguel's last tags.

View File

@ -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