diff options
| author | Jim Blandy | 1992-09-17 21:54:44 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-09-17 21:54:44 +0000 |
| commit | 5852d145625e9e1dddc5cef32a2b97d9b7c0366d (patch) | |
| tree | ff3e0c06feb6dbe6f4695fe1fe271960473f5e9b | |
| parent | 8feebd073e175456d183382e8313ce34eee9f9d6 (diff) | |
| download | emacs-5852d145625e9e1dddc5cef32a2b97d9b7c0366d.tar.gz emacs-5852d145625e9e1dddc5cef32a2b97d9b7c0366d.zip | |
*** empty log message ***
| -rw-r--r-- | lisp/progmodes/c-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/c-mode.el b/lisp/progmodes/c-mode.el index d91e5586ba9..0e753bbece0 100644 --- a/lisp/progmodes/c-mode.el +++ b/lisp/progmodes/c-mode.el | |||
| @@ -122,7 +122,7 @@ This is in addition to c-continued-statement-offset.") | |||
| 122 | "*Non-nil means automatically newline before and after braces, | 122 | "*Non-nil means automatically newline before and after braces, |
| 123 | and after colons and semicolons, inserted in C code. | 123 | and after colons and semicolons, inserted in C code. |
| 124 | If you do not want a leading newline before braces then use: | 124 | If you do not want a leading newline before braces then use: |
| 125 | (define-key c-mode-map "{" 'electric-c-semi)") | 125 | (define-key c-mode-map \"{\" 'electric-c-semi)") |
| 126 | 126 | ||
| 127 | (defconst c-tab-always-indent t | 127 | (defconst c-tab-always-indent t |
| 128 | "*Non-nil means TAB in C mode should always reindent the current line, | 128 | "*Non-nil means TAB in C mode should always reindent the current line, |
| @@ -544,7 +544,7 @@ Returns nil if line starts inside a string, t if in a comment." | |||
| 544 | ;; Recognize the DEFUN macro in Emacs. | 544 | ;; Recognize the DEFUN macro in Emacs. |
| 545 | (if (save-excursion | 545 | (if (save-excursion |
| 546 | ;; Move down to the (putative) argnames line. | 546 | ;; Move down to the (putative) argnames line. |
| 547 | (while (not (looking-at " *(")) | 547 | (while (not (looking-at " *[({}]")) |
| 548 | (forward-line 1)) | 548 | (forward-line 1)) |
| 549 | ;; Go back to the DEFUN, if it is one. | 549 | ;; Go back to the DEFUN, if it is one. |
| 550 | (condition-case nil | 550 | (condition-case nil |