diff options
| -rw-r--r-- | lisp/progmodes/python.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 00a6b804e72..92cdd35d90a 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -2354,6 +2354,8 @@ if that value is non-nil." | |||
| 2354 | ,(lambda (arg) | 2354 | ,(lambda (arg) |
| 2355 | (python-end-of-defun-function)) nil)) | 2355 | (python-end-of-defun-function)) nil)) |
| 2356 | 2356 | ||
| 2357 | (set (make-local-variable 'mode-require-final-newline) t) | ||
| 2358 | |||
| 2357 | (set (make-local-variable 'outline-regexp) | 2359 | (set (make-local-variable 'outline-regexp) |
| 2358 | (python-rx (* space) block-start)) | 2360 | (python-rx (* space) block-start)) |
| 2359 | (set (make-local-variable 'outline-heading-end-regexp) ":\\s-*\n") | 2361 | (set (make-local-variable 'outline-heading-end-regexp) ":\\s-*\n") |