aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/python.el')
-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 e57c7e639c9..17d30e0d972 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -461,7 +461,7 @@ Set `python-indent' locally to the value guessed."
461 (let ((initial (current-indentation))) 461 (let ((initial (current-indentation)))
462 (if (zerop (python-next-statement)) 462 (if (zerop (python-next-statement))
463 (setq indent (- (current-indentation) initial))) 463 (setq indent (- (current-indentation) initial)))
464 (if (and (>= indent 2) (<= indent 8)) ; sanity check 464 (if (and indent (>= indent 2) (<= indent 8)) ; sanity check
465 (setq done t)))))) 465 (setq done t))))))
466 (when done 466 (when done
467 (when (/= indent (default-value 'python-indent)) 467 (when (/= indent (default-value 'python-indent))