# HG changeset patch # User Jim Blandy # Date 716766884 0 # Node ID 14a07c6ffb048b6b408936a302f2d0359b66231d # Parent b48094d3cc4284b2eaf6461095b6a5e3cf889352 *** empty log message *** diff -r b48094d3cc42 -r 14a07c6ffb04 lisp/progmodes/c-mode.el --- 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