Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!hplabs!tektronix!tekcrl!tekgvs!toma From: toma@tekgvs.UUCP (Thomas Almy) Newsgroups: net.micro.pc Subject: bug in Microemacs <= v3.7 Message-ID: <1684@tekgvs.UUCP> Date: Thu, 14-Aug-86 18:07:12 EDT Article-I.D.: tekgvs.1684 Posted: Thu Aug 14 18:07:12 1986 Date-Received: Sun, 17-Aug-86 05:29:24 EDT Reply-To: toma@tekgvs (Thomas Almy) Organization: Tektronix, Inc., Beaverton, OR. Lines: 20 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