diff options
| author | Richard M. Stallman | 2004-12-31 14:55:23 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2004-12-31 14:55:23 +0000 |
| commit | 68e442738dfbf80edcff0fad37849ae26cae9c50 (patch) | |
| tree | c7fe66154a60c115f0e9d030245701ac3204e014 /lisp/progmodes/python.el | |
| parent | d473a4f9e08bfc17f0f0b868b7185e5b5b57cb39 (diff) | |
| download | emacs-68e442738dfbf80edcff0fad37849ae26cae9c50.tar.gz emacs-68e442738dfbf80edcff0fad37849ae26cae9c50.zip | |
(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 eae6ef75570..f73ccdda9eb 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -1712,7 +1712,7 @@ lines count as headers. | |||
| 1712 | (set (make-local-variable 'indent-line-function) #'python-indent-line) | 1712 | (set (make-local-variable 'indent-line-function) #'python-indent-line) |
| 1713 | (set (make-local-variable 'paragraph-start) "\\s-*$") | 1713 | (set (make-local-variable 'paragraph-start) "\\s-*$") |
| 1714 | (set (make-local-variable 'fill-paragraph-function) 'python-fill-paragraph) | 1714 | (set (make-local-variable 'fill-paragraph-function) 'python-fill-paragraph) |
| 1715 | (set (make-local-variable 'require-final-newline) t) | 1715 | (set (make-local-variable 'require-final-newline) mode-require-final-newline) |
| 1716 | (set (make-local-variable 'add-log-current-defun-function) | 1716 | (set (make-local-variable 'add-log-current-defun-function) |
| 1717 | #'python-current-defun) | 1717 | #'python-current-defun) |
| 1718 | ;; Fixme: Generalize to do all blocks? | 1718 | ;; Fixme: Generalize to do all blocks? |