files: don't bother counting rows when opening a fresh buffer
Counting the added number of rows is only relevant when inserting a file into the current buffer. So don't waste time counting when it's not needed. This fixes https://savannah.gnu.org/bugs/?51479.
Showing
+1 -1
Please register or sign in to comment