1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-18 07:16:23 -05:00

Display correct mode on first empty buffer.

This commit is contained in:
Renaud 2015-01-27 20:22:47 +08:00
parent bc90c36603
commit 639d912c88

4
main.c
View File

@ -315,8 +315,10 @@ int main(int argc, char **argv)
if (firstfile == FALSE && readfirst_f()) { if (firstfile == FALSE && readfirst_f()) {
swbuffer(firstbp); swbuffer(firstbp);
zotbuf(bp); zotbuf(bp);
} else } else {
bp->b_mode |= gmode; bp->b_mode |= gmode;
upmode() ;
}
/* Deal with startup gotos and searches */ /* Deal with startup gotos and searches */
if( gotoflag && searchflag) if( gotoflag && searchflag)