/* If the filename isn't blank, open the file. Otherwise, treat it
* as a new file. */
- rc = (filename[0] != '\0') ? open_file(filename, new_buffer, &f) :
- -2;
+ rc = (filename[0] != '\0') ?
+ open_file(filename, new_buffer, &f) : -2;
/* If we're loading into a new buffer, add a new openfile entry. */
if (new_buffer)
UNSET(VIEW_MODE);
}
- /* Update the screen to account for the current buffer. */
- load_buffer();
-
#ifdef ENABLE_MULTIBUFFER
if (!old_multibuffer)
UNSET(MULTIBUFFER);
sigsetjmp(jmpbuf, 1);
#endif
- edit_refresh();
+ /* Update the screen to account for the current buffer. */
+ load_buffer();
while (TRUE) {
bool meta_key, func_key, s_or_t, ran_func, finished;