Mercurial > emacs
changeset 59250:54d81a8baaa6
(python-mode): Use mode-require-final-newline.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 31 Dec 2004 14:55:23 +0000 |
parents | ccfc48223233 |
children | 84ede35ffeb4 |
files | lisp/progmodes/python.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/python.el Fri Dec 31 14:55:01 2004 +0000 +++ b/lisp/progmodes/python.el Fri Dec 31 14:55:23 2004 +0000 @@ -1712,7 +1712,7 @@ (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?