From f8994527d4968182a2d111be6c5e5d4a93fc5eb3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabi=C3=A1n=20Ezequiel=20Gallina?= Date: Thu, 17 May 2012 00:03:17 -0300 Subject: [PATCH] fixed last paren indentation logic --- lisp/progmodes/python.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- 2.39.5