No, i put it in txt-mode-load.el.

 .emacs:
(require 'txt-mode-load)



2012/2/4 Tim Landscheidt <tim@tim-landscheidt.de>
Thien-Thi Nguyen <ttn@gnuvola.org> wrote:

>    > You can add a spec for ‘ErrorMode’, with default face, prior to this one.

>    Which Emacs version does support that?

> Any that processes these specs in the given order, with
> "masking semantics", i suppose.  (I haven't tried.)

What does:

| (search-forward-regexp "\\([Ee][Rr][Rr]\\)\\(?!orMode\\)")

give on your Emacs?

Tim