tweaks: improve a comment, add one, and move one
Also, normalize the spelling of two keystrokes in an old news item.
This commit is contained in:
2
NEWS
2
NEWS
@@ -1677,7 +1677,7 @@
|
||||
allow multiple syntax highlighting types, and a new -Y,
|
||||
--syntax flag to set a specific one if there's no
|
||||
filename regex to match it against (i.e. w/mutt). The
|
||||
^space and M-space keys will now show up in the help
|
||||
^Space and M-Space keys will now show up in the help
|
||||
menu, which itself has been tweaked a bit, and many more
|
||||
configure options should now cooperate (like the odd
|
||||
pairing of --enable-tiny and --enable-multibuffer). The
|
||||
|
||||
@@ -2300,7 +2300,7 @@ void do_writeout(void)
|
||||
close_and_go();
|
||||
}
|
||||
|
||||
/* If it has a name, write the current buffer to disk without prompting. */
|
||||
/* Write the current buffer to disk without prompting (if it has a name). */
|
||||
void do_savefile(void)
|
||||
{
|
||||
if (write_it_out(FALSE, FALSE) == 2)
|
||||
|
||||
@@ -964,6 +964,7 @@ void parse_one_include(char *file, syntaxtype *syntax)
|
||||
extra = extra->next;
|
||||
}
|
||||
|
||||
/* Indicate that this syntax has been loaded. */
|
||||
free(syntax->filename);
|
||||
syntax->filename = NULL;
|
||||
|
||||
|
||||
@@ -2684,12 +2684,12 @@ void do_linter(void)
|
||||
/* Block resizing signals while reading from the pipe. */
|
||||
block_sigwinch(TRUE);
|
||||
|
||||
/* Read in the returned syntax errors. */
|
||||
totalread = 0;
|
||||
buffersize = pipesize + 1;
|
||||
lintings = nmalloc(buffersize);
|
||||
pointer = lintings;
|
||||
|
||||
/* Read in the returned syntax errors. */
|
||||
while ((bytesread = read(lint_fd[0], pointer, pipesize)) > 0) {
|
||||
totalread += bytesread;
|
||||
buffersize += pipesize;
|
||||
|
||||
Reference in New Issue
Block a user