[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: electric mode - is it vapour ware?
From: |
Lennart Borgman |
Subject: |
Re: electric mode - is it vapour ware? |
Date: |
Sat, 22 Aug 2009 02:56:14 +0200 |
On Fri, Aug 21, 2009 at 8:32 PM, Alan Mackenzie<address@hidden> wrote:
>> In the CC Mode manual there is something called "electric mode". Where
>> is this mode?
>
>> (info "(ccmode) Minor Modes")
>
>> I am asking because of a bug that shows up in php-mode, see
>> https://bugs.launchpad.net/nxhtml/+bug/409358
>
>> How are you supposed to turn off this functionality?
>
> Interactively, C-c C-l (`c-toggle-electric-state') toggles it.
>
> Programmatically, (c-toggle-electric-state arg) does the Usual Thing,
> i.e. positive arg turns it on, negative arg turns it off, 0 or nil
> toggles it.
>
> Internally, it's represented by the buffer local variable
> c-electric-flag.
Thanks Alan,
Perhaps the name of this minor mode should be mentioned on the page
above in the manual?