chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
61d6320
)
dot/emacs: Different tweak for Python indent level.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 5 Dec 2011 13:49:26 +0000
(13:49 +0000)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/dot/emacs
b/dot/emacs
index 80f0cb51b431c39a1e28a26da85fd30b26b30d53..d4df5fb87388e13def6f61819913dd16ff7c8256 100644
(file)
--- a/
dot/emacs
+++ b/
dot/emacs
@@
-653,6
+653,7
@@
(progn
(setq-default py-indent-offset 2
(progn
(setq-default py-indent-offset 2
+ python-indent 2
py-python-command-args
`("-i" "-colors" ,(if mdw-black-background
"Linux" "LightBG")))
py-python-command-args
`("-i" "-colors" ,(if mdw-black-background
"Linux" "LightBG")))