summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1995-10-12 21:15:49 (GMT)
committerBarry Warsaw <barry@python.org>1995-10-12 21:15:49 (GMT)
commit52bc17cd9e895a13b03b2e96e0684fb77173dfef (patch)
treed41b1f9b5bd4c07e554ae7de85fc12cc80d8b797 /Misc
parent349a988ba72d24a0dacfe5e9ba082b86e997d119 (diff)
downloadcpython-52bc17cd9e895a13b03b2e96e0684fb77173dfef.zip
cpython-52bc17cd9e895a13b03b2e96e0684fb77173dfef.tar.gz
cpython-52bc17cd9e895a13b03b2e96e0684fb77173dfef.tar.bz2
(py-indent-offset): this should be buffer local.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/python-mode.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el
index 91b1a9f..e98f355 100644
--- a/Misc/python-mode.el
+++ b/Misc/python-mode.el
@@ -243,6 +243,8 @@ the Emacs bell is also rung as a warning.")
;; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
;; NO USER DEFINABLE VARIABLES BEYOND THIS POINT
+(make-variable-buffer-local 'py-indent-offset)
+
;; Differentiate between Emacs 18, Lucid Emacs, and Emacs 19. This
;; seems to be the standard way of checking this.
;; BAW - This is *not* the right solution. When at all possible,