diff options
| -rw-r--r-- | lisp/progmodes/cc-cmds.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/cc-cmds.el b/lisp/progmodes/cc-cmds.el index 039ef3ccebf..42808c3e307 100644 --- a/lisp/progmodes/cc-cmds.el +++ b/lisp/progmodes/cc-cmds.el | |||
| @@ -907,7 +907,8 @@ is nil." | |||
| 907 | ;; be most disruptive. We'll blink it ourselves | 907 | ;; be most disruptive. We'll blink it ourselves |
| 908 | ;; afterwards. | 908 | ;; afterwards. |
| 909 | (old-blink-paren blink-paren-function) | 909 | (old-blink-paren blink-paren-function) |
| 910 | blink-paren-function) | 910 | blink-paren-function |
| 911 | (noblink (eq last-input-event ?\())) | ||
| 911 | (self-insert-command (prefix-numeric-value arg)) | 912 | (self-insert-command (prefix-numeric-value arg)) |
| 912 | (if c-syntactic-indentation | 913 | (if c-syntactic-indentation |
| 913 | (indent-according-to-mode)) | 914 | (indent-according-to-mode)) |
| @@ -982,6 +983,7 @@ is nil." | |||
| 982 | (delete-region beg end)))) | 983 | (delete-region beg end)))) |
| 983 | (and (not executing-kbd-macro) | 984 | (and (not executing-kbd-macro) |
| 984 | old-blink-paren | 985 | old-blink-paren |
| 986 | (not noblink) | ||
| 985 | (funcall old-blink-paren)))))) | 987 | (funcall old-blink-paren)))))) |
| 986 | 988 | ||
| 987 | (defun c-electric-continued-statement () | 989 | (defun c-electric-continued-statement () |