2

I'm looking to follow this other answer regarding linting inside org-mode source code block but I'm not able to figure out how to tell flymake to disable certain backends.

I'm using Emacs 27.x

shackra
  • 2,782
  • 19
  • 49

1 Answers1

3

See flymake-diagnostic-functions:

The functions in this hook diagnose problems in a buffer’s contents and provide information to the Flymake user interface about where and how to annotate problems diagnosed in a buffer.

Just remove function that you don't need like this:

(remove-hook 'flymake-diagnostic-functions 'flymake-function-that-you-dont-need)
muffinmad
  • 2,300
  • 8
  • 11