summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2017-09-22 01:31:23 +0100
committerJoão Távora <joaotavora@gmail.com>2017-10-03 13:52:24 +0100
commitb0bb181f9359aff07b09b919b8af397ef39d6784 (patch)
tree48ddd698be7ade48bb40d9390c1e98a3ff8273cd /lisp/emacs-lisp
parent54beebb4e0d919c7ee6dcdd7d774d851c35f85b7 (diff)
downloademacs-b0bb181f9359aff07b09b919b8af397ef39d6784.tar.gz
emacs-b0bb181f9359aff07b09b919b8af397ef39d6784.tar.bz2
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 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions