@@ -412,7 +412,7 @@ function! quickui#core#buffer_alloc()
412
412
endif
413
413
endif
414
414
call setbufvar (bid, ' &modifiable' , 1 )
415
- call deletebufline (bid, 1 , ' $' )
415
+ silent call deletebufline (bid, 1 , ' $' )
416
416
call setbufvar (bid, ' &modified' , 0 )
417
417
call setbufvar (bid, ' &filetype' , ' ' )
418
418
return bid
@@ -429,7 +429,7 @@ function! quickui#core#buffer_free(bid)
429
429
let index = len (s: buffer_array )
430
430
let s: buffer_array [index ] = a: bid
431
431
call setbufvar (a: bid , ' &modifiable' , 1 )
432
- call deletebufline (a: bid , 1 , ' $' )
432
+ silent call deletebufline (a: bid , 1 , ' $' )
433
433
call setbufvar (a: bid , ' &modified' , 0 )
434
434
endfunc
435
435
@@ -444,7 +444,7 @@ function! quickui#core#buffer_update(bid, textlist)
444
444
let textlist = split (' ' . a: textlist , ' \n' , 1 )
445
445
endif
446
446
call setbufvar (a: bid , ' &modifiable' , 1 )
447
- call deletebufline (a: bid , 1 , ' $' )
447
+ silent call deletebufline (a: bid , 1 , ' $' )
448
448
call setbufline (a: bid , 1 , textlist)
449
449
call setbufvar (a: bid , ' &modified' , 0 )
450
450
endfunc
0 commit comments