diff options
| author | Alan Mackenzie | 2014-02-17 18:16:32 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2014-02-17 18:16:32 +0000 |
| commit | 29238d289dc33b70059bdfd82588db84254004a1 (patch) | |
| tree | 39091b337797af9b617cdc0f2d2500523e993ad3 /src | |
| parent | 6faf982a0e21895e1a3aa682a5cecd74b609a30d (diff) | |
| download | emacs-29238d289dc33b70059bdfd82588db84254004a1.tar.gz emacs-29238d289dc33b70059bdfd82588db84254004a1.zip | |
Connect electric-indent-mode up with CC Mode. Bug #15478.
* progmodes/cc-mode.el (c-initialize-cc-mode): add CC Mode hooks
to electric-indent-{,local-}-mode.
(c-basic-common-init): Set electric-indent-inhibit. Initialise
c-electric-flag from electric-indent-mode.
(c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
New hook functions which propagate electric-indent-mode to CC Mode.
* progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
hit, toggle electric-indent-local-moode.
* electric.el (electric-indent-mode-has-been-called): New variable.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions