diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 250f4812a33..9a55f337996 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -452,6 +452,9 @@ START is the buffer position where the sexp starts." | |||
| 452 | (start)) | 452 | (start)) |
| 453 | (cons | 453 | (cons |
| 454 | (cond | 454 | (cond |
| 455 | ;; Beginning of buffer | ||
| 456 | ((bobp) | ||
| 457 | 'no-indent) | ||
| 455 | ;; Inside a paren | 458 | ;; Inside a paren |
| 456 | ((setq start (nth 1 ppss)) | 459 | ((setq start (nth 1 ppss)) |
| 457 | 'inside-paren) | 460 | 'inside-paren) |