Is there a way to tell emacs to always kill flymake processes when I'm closing the associated buffer? I don't want to get the confirmation when the only process associated with the buffer is a flymake process?
Here's a patch. The gist is to modify the function that invokes flymake to use set-process-query-on-exit-flag
to set the process-query-on-exit-flag
variable to nil
for the flymake process. See also C-h f set-process-query-on-exit-flag
.