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

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

4 spaces by hitting tab for PHP-mode


From: ishi soichi
Subject: 4 spaces by hitting tab for PHP-mode
Date: Tue, 27 Aug 2013 16:15:05 +0900

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]