Skip to content
This repository

Multilingual code indentation for Emacs

branch: master

added footer

latest commit d58fd5ca08
Evgkeni Sampelnikof authored March 28, 2013
Octocat-spinner-32 author change June 23, 2012
Octocat-spinner-32 wmi.el added footer March 28, 2013


A minor mode for automatic indentation of PHP/XHTML/JavaScript/CSS soup.

It's unassuming - it only depends on packages present in standard emacs. It doesn't even need PHP mode. It can be used with any major mode whatsoever - the only thing it handles is indentation.

To use it add

(require 'wmi)
(add-hook 'php-mode-hook  (lambda () (wmi 1)))
(add-hook 'css-mode-hook  (lambda () (wmi 1)))
(add-hook 'nxml-mode-hook (lambda () (wmi 1)))
(add-hook 'js-mode-hook   (lambda () (wmi 1)))

to your .emacs

Something went wrong with that request. Please try again.