]> git.eshelyaron.com Git - emacs.git/commit
Fixed weird cornercase behavior in python-indent-calculate-indentation.
authorFabián Ezequiel Gallina <fgallina@cuca>
Thu, 17 May 2012 03:03:17 +0000 (00:03 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Thu, 17 May 2012 03:03:17 +0000 (00:03 -0300)
commit65e4f7642eb551e6cfb8757cba84246a33b19590
tree1d846b9fd45a230af54ea97b5bdc5d3c1600a70a
parent589cefd7664e38a242d795ea8254bb51c6246f29
Fixed weird cornercase behavior in python-indent-calculate-indentation.

Doing (setq python-indent-levels '(0)) was causing the value of
python-indent-levels to not be initialized correctly on next calls to
python-indent-calculate-indentation. Using (setq python-indent-levels
(list 0)) instead does the trick but I'm not sure why.
lisp/progmodes/python.el