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

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

Re: 4 spaces by hitting tab for PHP-mode


From: Aurélien Aptel
Subject: Re: 4 spaces by hitting tab for PHP-mode
Date: Tue, 27 Aug 2013 10:01:46 +0200

indent-tabs-more should be nil, not t.

On Tue, Aug 27, 2013 at 9:15 AM, ishi soichi <soichi777@gmail.com> wrote:
> Could anyone help me set hitting TAB gives *4 spaces* as an indent.
> The following does not do it.
> TAB gives two tabs(?) which is not what I want.
>
> (add-hook 'php-mode-hook
>   '(lambda()
>      (setq tab-width 4)
>      (setq indent-tabs-mode t)
>      (setq c-basic-offset 4)
>    ))
>
>
> soichi



reply via email to

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