Comment 6 for bug 589635

kjsdb_v2 (kjsdb) wrote :

Okay, well the closest I can say is it seems to be be dependent on nxhtml, flymake, *and* test-case-mode ( and especially which is a changed version I use to test php code)

;; flymake
(require 'flymake)
(add-hook 'find-file-hook 'flymake-find-file-hook)

;; test-case-mode
(autoload 'test-case-mode "test-case-mode" nil t)
(autoload 'enable-test-case-mode-if-test "test-case-mode")
(autoload 'test-case-find-all-tests "test-case-mode" nil t)
(autoload 'test-case-compilation-finish-run-all "test-case-mode")
(add-hook 'find-file-hook 'enable-test-case-mode-if-test)

I've also tried it without the find-file-hooks and it makes no difference. And yes, the files I see it on are only my unit test files.