Here is my flymake setup in .emacs file:
(when (load \"flymake\" t)
(defun flymake-pyflakes-init ()
(let* ((temp-file (flymake-init-create
In the error message you receive it's telling that it can't find the command-line XML validation tool xml
. You can fix it by installing a compatible XML validation tool (xmllint
is the right choice I guess).
But if you really just want to disable Flymake for HTML and XML files you don't have to copy whole the flymake.el file and change it. Simply add this line your init file:
(defun flymake-xml-init ())
This overrides the function that Flymake calls for HTML and XML files with an empty function.