diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 1148da11a06..a44d4215d7c 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -6260,7 +6260,9 @@ point's current `syntax-ppss'." | |||
| 6260 | counter))) | 6260 | counter))) |
| 6261 | (python-util-forward-comment -1) | 6261 | (python-util-forward-comment -1) |
| 6262 | (python-nav-beginning-of-statement) | 6262 | (python-nav-beginning-of-statement) |
| 6263 | (cond ((bobp)) | 6263 | (cond ((and (bobp) (save-excursion |
| 6264 | (python-util-forward-comment) | ||
| 6265 | (looking-at-p re)))) | ||
| 6264 | ((python-info-assignment-statement-p) t) | 6266 | ((python-info-assignment-statement-p) t) |
| 6265 | ((python-info-looking-at-beginning-of-defun)) | 6267 | ((python-info-looking-at-beginning-of-defun)) |
| 6266 | (t nil)))))) | 6268 | (t nil)))))) |