]> git.eshelyaron.com Git - emacs.git/commit
Added indentation support for continuation of dotted expressions
authorFabián Ezequiel Gallina <fgallina@cuca>
Thu, 17 May 2012 03:03:08 +0000 (00:03 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Thu, 17 May 2012 03:03:08 +0000 (00:03 -0300)
commit9f1537ef3e5e6782edacfacbf9f4396e3ab11bd1
treedb6163a848bd91f753f274cd2843d146daf13cd6
parentc43cd8b10f278195c59fa641dca7670811e7c146
Added indentation support for continuation of dotted expressions

Expressions like these are now supported and indented correctly:

    Object.objects.exclude(foo=1)\
                  .filter(bar=2)\
                  .values_list('baz')

Also added a small fix to python-info-assignment-continuation-line-p
to check the match for the operator is not inside some paren.
lisp/progmodes/python.el