From 0d471619a32d3213b55b80b7522aebc3f6261df5 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 14 Apr 1994 10:37:59 +0000 Subject: Fix by Sjoerd so nested indents also work if the open paren is on a line containing tabs --- Misc/python-mode-old.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Misc/python-mode-old.el b/Misc/python-mode-old.el index ae06251..04fbc07 100644 --- a/Misc/python-mode-old.el +++ b/Misc/python-mode-old.el @@ -522,8 +522,7 @@ the new line indented." (if nest (save-excursion (goto-char nest) - (beginning-of-line) - (1+ (- nest (point)))) + (1+ (current-column))) (forward-line -1) (if (py-continuation-line-p) ; on at least 3rd line in block (current-indentation) ; so just continue the pattern -- cgit v0.12