diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 8dc345ca1c1..458f0f16fb6 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -676,7 +676,7 @@ AFTER-LINE.") | |||
| 676 | (goto-char block-end) | 676 | (goto-char block-end) |
| 677 | (python-util-forward-comment) | 677 | (python-util-forward-comment) |
| 678 | (current-indentation)))) | 678 | (current-indentation)))) |
| 679 | (if indentation | 679 | (if (and indentation (not (zerop indentation))) |
| 680 | (set (make-local-variable 'python-indent-offset) indentation) | 680 | (set (make-local-variable 'python-indent-offset) indentation) |
| 681 | (message "Can't guess python-indent-offset, using defaults: %s" | 681 | (message "Can't guess python-indent-offset, using defaults: %s" |
| 682 | python-indent-offset))))))) | 682 | python-indent-offset))))))) |