]> git.eshelyaron.com Git - emacs.git/commitdiff
fixed last paren indentation logic
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)
lisp/progmodes/python.el

index 1cd1396f24f9c0ac94d52fdf1b227ec1606b5af7..4589a828ebed6da955a56137c884eed2b615d889 100644 (file)
@@ -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)))