aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorJoão Távora2017-09-22 01:31:23 +0100
committerJoão Távora2017-10-03 13:52:24 +0100
commitb0bb181f9359aff07b09b919b8af397ef39d6784 (patch)
tree48ddd698be7ade48bb40d9390c1e98a3ff8273cd /src/coding.c
parent54beebb4e0d919c7ee6dcdd7d774d851c35f85b7 (diff)
downloademacs-b0bb181f9359aff07b09b919b8af397ef39d6784.tar.gz
emacs-b0bb181f9359aff07b09b919b8af397ef39d6784.zip
Protect Flymake's eager checks against commands like fill-paragraph
If flymake-start-syntax-check-on-newline is t, check should start as soon as a newline is seen by after-change-functions. But don't rush it: since the buffer state might not be final, we might end up with invalid diagnostic regions after some commands silently insert and delete newlines (looking at you, fill-paragraph). * lisp/progmodes/flymake.el (flymake-after-change-function): Pass `deferred' to flymake--start-syntax-check. (flymake--start-syntax-check): Take optional `deferred' arg.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions