]> git.eshelyaron.com Git - emacs.git/commit
Indent python multiline strings to start and previous levels
authorCarlos Pita <carlosjosepita@gmail.com>
Sun, 9 Aug 2020 18:44:50 +0000 (20:44 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 9 Aug 2020 18:44:55 +0000 (20:44 +0200)
commitb78583cde7d8aaa1fa19c20975c03d689c78baef
tree7c153d1084ff4dd5c6123933d80a466d337d8233
parent5fef06fcf7ba284f206061293c3f9bcfac2daafc
Indent python multiline strings to start and previous levels

* progmodes/python.el (python-indent--calculate-indentation): Add an
additional indentation point to match indentation of previous line in
a multiline string.  Then Tab iterates between 0, the start indentation
level and the previous line level (bug#37726).
lisp/progmodes/python.el