* progmodes/python.el:

(python-indent-guess-indent-offset): If indentation is guessed
make python-indent-offset variable buffer local.
parent 207cb73c
2012-11-26 Fabián Ezequiel Gallina <fgallina@cuca>
* progmodes/python.el:
(python-indent-guess-indent-offset): If indentation is guessed
make python-indent-offset variable buffer local.
2012-11-26 Fabián Ezequiel Gallina <fgallina@cuca> 2012-11-26 Fabián Ezequiel Gallina <fgallina@cuca>
Fix Imenu regression. Fix Imenu regression.
......
...@@ -647,7 +647,7 @@ These make `python-indent-calculate-indentation' subtract the value of ...@@ -647,7 +647,7 @@ These make `python-indent-calculate-indentation' subtract the value of
(python-util-forward-comment) (python-util-forward-comment)
(current-indentation)))) (current-indentation))))
(if indentation (if indentation
(setq python-indent-offset indentation) (set (make-local-variable 'python-indent-offset) indentation)
(message "Can't guess python-indent-offset, using defaults: %s" (message "Can't guess python-indent-offset, using defaults: %s"
python-indent-offset))))))) python-indent-offset)))))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment