feedback: with --mini or --zero, suppress number of lines for new buffer
For consistency of style, the number of lines read should only be shown when inserting a file into the current buffer, not when reading it into a new buffer. This amends the fix for https://savannah.gnu.org/bugs/?61509.master
parent
9d3d354bd4
commit
7785c3f7cf
|
@ -819,7 +819,7 @@ void read_file(FILE *f, int fd, const char *filename, bool undoable)
|
||||||
"Read %zu lines (Converted from DOS format)",
|
"Read %zu lines (Converted from DOS format)",
|
||||||
num_lines), num_lines);
|
num_lines), num_lines);
|
||||||
#endif
|
#endif
|
||||||
else if ((!ISSET(MINIBAR) && !ISSET(ZERO)) || we_are_running)
|
else if ((!ISSET(MINIBAR) && !ISSET(ZERO)) || (we_are_running && undoable))
|
||||||
statusline(REMARK, P_("Read %zu line", "Read %zu lines",
|
statusline(REMARK, P_("Read %zu line", "Read %zu lines",
|
||||||
num_lines), num_lines);
|
num_lines), num_lines);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue