diff options
author | Richard M. Stallman <[email protected]> | 2004-12-31 14:55:23 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 2004-12-31 14:55:23 +0000 |
commit | 68e442738dfbf80edcff0fad37849ae26cae9c50 (patch) | |
tree | c7fe66154a60c115f0e9d030245701ac3204e014 /lisp/progmodes/python.el | |
parent | d473a4f9e08bfc17f0f0b868b7185e5b5b57cb39 (diff) |
(python-mode): Use mode-require-final-newline.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r-- | lisp/progmodes/python.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index eae6ef7557..f73ccdda9e 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -1712,7 +1712,7 @@ lines count as headers. (set (make-local-variable 'indent-line-function) #'python-indent-line) (set (make-local-variable 'paragraph-start) "\\s-*$") (set (make-local-variable 'fill-paragraph-function) 'python-fill-paragraph) - (set (make-local-variable 'require-final-newline) t) + (set (make-local-variable 'require-final-newline) mode-require-final-newline) (set (make-local-variable 'add-log-current-defun-function) #'python-current-defun) ;; Fixme: Generalize to do all blocks? |