Path: utzoo!attcan!uunet!wiley!rich From: rich@wiley.UUCP (Rich Messenger) Newsgroups: comp.emacs Subject: elec-c bug fix Summary: fixes minor elec-c bug Keywords: GNU Message-ID: <3053@wiley.UUCP> Date: 25 Nov 88 00:42:37 GMT References: <279@ge1cbx.UUCP> <591@husc6.harvard.edu> <14399@comp.vuw.ac.nz> Reply-To: rich@wiley.UUCP (Rich Messenger) Organization: TRW Inc., Redondo Beach, CA Lines: 33 Thanks to Mark Davies for his reecently posted elec-c mode. I found one minor bug -- here is a context diff: *** elec-c.el Thu Nov 24 16:30:10 1988 --- elec-c.el.fixed Thu Nov 24 16:24:08 1988 *************** *** 255,264 **** (insert ? )) (insert ?{) (c-indent-line) ! (insert "\n\n}")) (c-indent-line) (next-line -1) ! (c-indent-line)) (defun elec-c-opening-brac () "For one of (, [ insert it and its pair, and postion point in the centre" --- 255,264 ---- (insert ? )) (insert ?{) (c-indent-line) ! (insert "\n\n}") (c-indent-line) (next-line -1) ! (c-indent-line))) (defun elec-c-opening-brac () "For one of (, [ insert it and its pair, and postion point in the centre" -- _ __ ' ) ) / ... Rich Messenger /--' o _. /_ {uunet,cit-vax,trwrb}!wiley!rich / \_(_(__/ /_ wiley!rich@csvax.caltech.edu