Fix css-mode indention in emacs

January 20th, 2009 Chris
Tags: , , , | Comments Off

Here’s a quick fix for the obnoxious default indention settings for emacs. Just drop these lines into your .emacs file:

(setq cssm-indent-level 4)
(setq cssm-newline-before-closing-bracket t)
(setq cssm-indent-function #'cssm-c-style-indenter)
(setq cssm-mirror-mode nil)

Thanks to stokebloke.com for saving my sanity.

Comments are closed.

Add a comment on FriendFeed