Mercurial > hg > config
comparison .emacs @ 120:339805e00f03
set python spacing back to four, by popular demand
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 27 Dec 2010 07:13:11 -0800 |
parents | 89a64b0d6146 |
children | 7a4c86310463 |
comparison
equal
deleted
inserted
replaced
119:dc3c8f90a418 | 120:339805e00f03 |
---|---|
8 (setq use-file-dialog nil) | 8 (setq use-file-dialog nil) |
9 | 9 |
10 ;; indentation | 10 ;; indentation |
11 | 11 |
12 ;; python indentation | 12 ;; python indentation |
13 (setq python-indent 2) | 13 (setq python-indent 4) |
14 (setq-default py-indent-offset 2) | 14 (setq-default py-indent-offset 4) |
15 (setq python-guess-indent nil) | 15 (setq python-guess-indent nil) |
16 | 16 |
17 ;; javascript indentation: http://www.brgeight.se/downloads/emacs/javascript.el | 17 ;; javascript indentation: http://www.brgeight.se/downloads/emacs/javascript.el |
18 (setq javascript-indent-level 2) | 18 (setq javascript-indent-level 2) |
19 | 19 |