aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorFabián Ezequiel Gallina2012-05-17 00:03:17 -0300
committerFabián Ezequiel Gallina2012-05-17 00:03:17 -0300
commitf8994527d4968182a2d111be6c5e5d4a93fc5eb3 (patch)
tree4a485e917a5bde569f46776999b1c5b5a33d6e79 /lisp
parent65e4f7642eb551e6cfb8757cba84246a33b19590 (diff)
downloademacs-f8994527d4968182a2d111be6c5e5d4a93fc5eb3.tar.gz
emacs-f8994527d4968182a2d111be6c5e5d4a93fc5eb3.zip
fixed last paren indentation logic
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/python.el2
1 files changed, 1 insertions, 1 deletions
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."
692 indentation)) 692 indentation))
693 ('inside-paren 693 ('inside-paren
694 (or (save-excursion 694 (or (save-excursion
695 (forward-comment 9999) 695 (skip-syntax-forward "\s" (line-end-position))
696 (when (and (looking-at (regexp-opt '(")" "]" "}"))) 696 (when (and (looking-at (regexp-opt '(")" "]" "}")))
697 (not (forward-char 1)) 697 (not (forward-char 1))
698 (not (python-info-ppss-context 'paren))) 698 (not (python-info-ppss-context 'paren)))