From: Fabián Ezequiel Gallina Date: Thu, 17 May 2012 03:03:17 +0000 (-0300) Subject: fixed last paren indentation logic X-Git-Tag: emacs-24.2.90~1199^2~560 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f8994527d4968182a2d111be6c5e5d4a93fc5eb3;p=emacs.git fixed last paren indentation logic --- diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 1cd1396f24f..4589a828ebe 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -692,7 +692,7 @@ START is the buffer position where the sexp starts." indentation)) ('inside-paren (or (save-excursion - (forward-comment 9999) + (skip-syntax-forward "\s" (line-end-position)) (when (and (looking-at (regexp-opt '(")" "]" "}"))) (not (forward-char 1)) (not (python-info-ppss-context 'paren)))