Set local variable `mode-require-final-newline' to t

This commit is contained in:
Fabián Ezequiel Gallina
2012-05-17 00:03:19 -03:00
committed by Fabián Ezequiel Gallina
parent c61d750ea7
commit 82c2b0de6a

View File

@@ -2354,6 +2354,8 @@ if that value is non-nil."
,(lambda (arg)
(python-end-of-defun-function)) nil))
(set (make-local-variable 'mode-require-final-newline) t)
(set (make-local-variable 'outline-regexp)
(python-rx (* space) block-start))
(set (make-local-variable 'outline-heading-end-regexp) ":\\s-*\n")