help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to turn off auto indent in C++ mode?


From: Eli Zaretskii
Subject: Re: How to turn off auto indent in C++ mode?
Date: Sat, 07 Jun 2008 09:41:47 +0300

> Date: Sat, 7 Jun 2008 10:46:29 +0800
> From: "Zhongxing Xu" <mymlreader@gmail.com>
> Cc: help-gnu-emacs@gnu.org
> 
> > Does "C-c C-l" in the buffer where you edit C++ do what you want?
> 
> Yes!

In that case, you can customize this in your .emacs by adding the
following line to the c++-mode-hook:

  (c-toggle-electric-state -1)

This will do the equivalent of "C-c C-l" in all buffers where you edit
C++ code.




reply via email to

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