diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 5baf6e0f80a..ff8269d9705 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -1474,7 +1474,7 @@ nested definitions." | |||
| 1474 | (defun python-nav-beginning-of-statement () | 1474 | (defun python-nav-beginning-of-statement () |
| 1475 | "Move to start of current statement." | 1475 | "Move to start of current statement." |
| 1476 | (interactive "^") | 1476 | (interactive "^") |
| 1477 | (back-to-indentation) | 1477 | (forward-line 0) |
| 1478 | (let* ((ppss (syntax-ppss)) | 1478 | (let* ((ppss (syntax-ppss)) |
| 1479 | (context-point | 1479 | (context-point |
| 1480 | (or | 1480 | (or |
| @@ -1489,6 +1489,7 @@ nested definitions." | |||
| 1489 | (python-info-line-ends-backslash-p)) | 1489 | (python-info-line-ends-backslash-p)) |
| 1490 | (forward-line -1) | 1490 | (forward-line -1) |
| 1491 | (python-nav-beginning-of-statement)))) | 1491 | (python-nav-beginning-of-statement)))) |
| 1492 | (back-to-indentation) | ||
| 1492 | (point-marker)) | 1493 | (point-marker)) |
| 1493 | 1494 | ||
| 1494 | (defun python-nav-end-of-statement (&optional noend) | 1495 | (defun python-nav-end-of-statement (&optional noend) |