Menu

#6 bug in flymake-can-syntax-check-file hit when using vc commands

v1.0_(example)
open
nobody
None
5
2014-08-21
2014-08-21
No

I think there is a bug in the flymake-can-syntax-check-file function. I think the line that reads
(if (flymake-get-init-function file-name) t nil))
should be changed to:
(if (and file-name (flymake-get-init-function file-name)) t nil))

That is, if file-name is nil then don't do anything else.

The effect of the existing bug is that when I do version control commands (like check-in a file) I get an Invalid file-name error.

Thanks.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB