1
1

linting: switch the mark off when the linter starts

Because the highlighting hinders the display of affected lines,
and, more importantly, only the highlighted part would be written
if the file was modified and the user answers yes to the "Save?"
prompt.

This fixes https://savannah.gnu.org/bugs/?52474.
Этот коммит содержится в:
Benno Schulenberg 2017-11-21 20:43:18 +01:00
родитель 2b438e6ef4
Коммит c42489d946

Просмотреть файл

@ -3068,6 +3068,9 @@ void do_linter(void)
return;
}
openfile->mark_set = FALSE;
edit_refresh();
if (openfile->modified) {
int i = do_yesno_prompt(FALSE, _("Save modified buffer before linting?"));