emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: electric mode - is it vapour ware?


From: Alan Mackenzie
Subject: Re: electric mode - is it vapour ware?
Date: Fri, 21 Aug 2009 18:32:08 +0000
User-agent: Mutt/1.5.9i

Hi, Lennart.

On Fri, Aug 07, 2009 at 01:31:53AM +0200, Lennart Borgman 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.

-- 
Alan Mackenzie (Nuremberg, Germany).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]