[net.micro.pc] bug in Microemacs <= v3.7

toma@tekgvs.UUCP (Thomas Almy) (08/15/86)

I discovered a bug in Microemacs that causes it to go into CMODE for ALL
files ending in "h" instead of being limited to ".h".

In file file.c, change the lines:

	if (*sptr == '.' &&
	   *(sptr + 1) == 'c' || *(sptr + 1) == 'h')

to:

	if (*sptr == '.' &&
	   (*(sptr + 1) == 'c' || *(sptr + 1) == 'h'))


I discovered this when I noticed that all the Forth files I was editing were
in CMODE (their extension is .4TH).

Tom Almy
Tektronix