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:
parent
bc90c36603
commit
639d912c88
4
main.c
4
main.c
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user