diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index e617e2932d0..6c11a478942 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -3300,7 +3300,8 @@ JUSTIFY should be used (if applicable) as in `fill-paragraph'." | |||
| 3300 | (end-of-line) | 3300 | (end-of-line) |
| 3301 | (when (not (python-syntax-context 'paren)) | 3301 | (when (not (python-syntax-context 'paren)) |
| 3302 | (skip-syntax-backward "^)"))) | 3302 | (skip-syntax-backward "^)"))) |
| 3303 | (while (python-syntax-context 'paren) | 3303 | (while (and (python-syntax-context 'paren) |
| 3304 | (not (eobp))) | ||
| 3304 | (goto-char (1+ (point-marker)))) | 3305 | (goto-char (1+ (point-marker)))) |
| 3305 | (point-marker))) | 3306 | (point-marker))) |
| 3306 | (let ((paragraph-start "\f\\|[ \t]*$") | 3307 | (let ((paragraph-start "\f\\|[ \t]*$") |
| @@ -3311,7 +3312,8 @@ JUSTIFY should be used (if applicable) as in `fill-paragraph'." | |||
| 3311 | (while (not (eobp)) | 3312 | (while (not (eobp)) |
| 3312 | (forward-line 1) | 3313 | (forward-line 1) |
| 3313 | (python-indent-line) | 3314 | (python-indent-line) |
| 3314 | (goto-char (line-end-position)))) t) | 3315 | (goto-char (line-end-position)))) |
| 3316 | t) | ||
| 3315 | 3317 | ||
| 3316 | 3318 | ||
| 3317 | ;;; Skeletons | 3319 | ;;; Skeletons |