1
1

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

Этот коммит содержится в:
Paul Sheer 1999-01-18 19:20:06 +00:00
родитель 66eb02ef08
Коммит 37541330f9
2 изменённых файлов: 7 добавлений и 2 удалений

Просмотреть файл

@ -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> 1999-01-18 Arturo Espinosa <arturo@nuclecu.unam.mx>
* file.c: Use N_ instead of _ for some of miguel's last tags. * file.c: Use N_ instead of _ for some of miguel's last tags.

Просмотреть файл

@ -326,7 +326,7 @@ void do_edit_at_line (const char *what, int start_line)
#ifdef USE_INTERNAL_EDIT #ifdef USE_INTERNAL_EDIT
if (use_internal_edit){ if (use_internal_edit){
edit (what, start_line); edit (what, start_line);
reread_cmd (); update_panels (UP_OPTIMIZE, UP_KEEPSEL);
return; return;
} }
#endif #endif
@ -336,7 +336,7 @@ void do_edit_at_line (const char *what, int start_line)
editor = get_default_editor (); editor = get_default_editor ();
} }
execute_internal (editor, what); execute_internal (editor, what);
reread_cmd (); update_panels (UP_OPTIMIZE, UP_KEEPSEL);
} }
void void