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

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

indent for css-mode


From: ishi soichi
Subject: indent for css-mode
Date: Wed, 30 Oct 2013 11:14:08 +0900

Emacs24.3

I am trying to set the indent level of css-mode to 2 spaces.

;; css-mode
(add-hook 'css-mode-hook
      '(lambda()
        (setq c-basic-offset 2)
        (setq indent-tabs-mode nil)))

does not do as I want it to.

css-mode is the default one that comes with Emacs24.

Could anyone help me out?


reply via email to

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