chiark / gitweb /
dot/emacs: Different tweak for Python indent level.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 5 Dec 2011 13:49:26 +0000 (13:49 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 5 Dec 2011 13:49:26 +0000 (13:49 +0000)
There appear to be two Python modes, and I'm not sure how they get
selected.

dot/emacs

index 80f0cb51b431c39a1e28a26da85fd30b26b30d53..d4df5fb87388e13def6f61819913dd16ff7c8256 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
 
 (progn
   (setq-default py-indent-offset 2
+               python-indent 2
                py-python-command-args
                `("-i" "-colors" ,(if mdw-black-background
                                      "Linux" "LightBG")))