[Top][All Lists]

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

Disabling Electric C Characters?

From: zenlikethat
Subject: Disabling Electric C Characters?
Date: Sun, 21 Oct 2007 08:33:51 -0700 (PDT)

Hey guys, I'm having some trouble disabling electric characters in C mode in
my version of Emacs on Ubuntu.

Every time I type in a curly brace to close off a block of code like a
function or an if statement, the "}" reindents, completely disregarding
wherever I may have put it.  I don't like this and am trying my hardest to
turn it off, but nothing seems to work.

I've tried putting

(setq-default c-electric-flag nil) and
(setq-default c-syntactic-indentation nil)

in my .emacs file, but to no avail.

Any suggestions?



View this message in context:
Sent from the Emacs - Help mailing list archive at

reply via email to

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