changeset 1159:14a07c6ffb04

*** empty log message ***
author Jim Blandy <jimb@redhat.com>
date Thu, 17 Sep 1992 21:54:44 +0000
parents b48094d3cc42
children f7b55bfe1c05
files lisp/progmodes/c-mode.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/c-mode.el	Thu Sep 17 19:50:27 1992 +0000
+++ b/lisp/progmodes/c-mode.el	Thu Sep 17 21:54:44 1992 +0000
@@ -122,7 +122,7 @@
   "*Non-nil means automatically newline before and after braces,
 and after colons and semicolons, inserted in C code.
 If you do not want a leading newline before braces then use:
-  (define-key c-mode-map "{" 'electric-c-semi)")
+  (define-key c-mode-map \"{\" 'electric-c-semi)")
 
 (defconst c-tab-always-indent t
   "*Non-nil means TAB in C mode should always reindent the current line,
@@ -544,7 +544,7 @@
 			  ;; Recognize the DEFUN macro in Emacs.
 			  (if (save-excursion
 				;; Move down to the (putative) argnames line.
-				(while (not (looking-at " *("))
+				(while (not (looking-at " *[({}]"))
 				  (forward-line 1))
 				;; Go back to the DEFUN, if it is one.
 				(condition-case nil