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

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

Re: replace TAB with 8 whitespaces


From: Henrik Enberg
Subject: Re: replace TAB with 8 whitespaces
Date: Thu, 12 Jun 2003 19:19:19 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

"jinneemop" <jinneemop@isee.zju.edu> writes:

> I wish to use 8 spaces to indent source code under c++ mode. 
> When I press TAB, I'd like emacs to insert 8 spaces instead.
> How can I do this?

(add-hook c++-mode-hook
          (lambda ()
            (setq indent-tabs-mode nil)))

-- 
hail satan


reply via email to

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