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 321bc5eb94a..b11741d4a68 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1942,8 +1942,8 @@ not inside a defun."
1942 (save-restriction 1942 (save-restriction
1943 (widen) 1943 (widen)
1944 (save-excursion 1944 (save-excursion
1945 (forward-comment -1)
1946 (goto-char (line-end-position)) 1945 (goto-char (line-end-position))
1946 (forward-comment -1)
1947 (while (and (not (equal 0 (current-indentation))) 1947 (while (and (not (equal 0 (current-indentation)))
1948 (not (python-beginning-of-defun-function 1 t))) 1948 (not (python-beginning-of-defun-function 1 t)))
1949 (when (or (not min-indent) 1949 (when (or (not min-indent)