[net.emacs] Bug in search.c

chris.umcp-cs@UDel-TCP (02/09/83)

From:      Chris Torek <chris.umcp-cs@UDel-TCP>

There is (yet another) bug in search.c, which only shows up if you
don't (do a search after (changing case-fold-search || starting emacs))
before calling looking-at.  This can be fixed by setting

    global.TRT = bf_mode.md_FoldCase ? CaseFoldTRT : StandardTRT;

in the LookingAt () function in search.c (as it is set in search ()).
This causes particularly strange results when first starting up, as
we were having "_" match "c" before doing a search.
					- Chris