From: Fabián Ezequiel Gallina Date: Sun, 20 Jul 2014 18:28:50 +0000 (-0300) Subject: * lisp/progmodes/python.el (python-mode): Don't set X-Git-Tag: emacs-24.3.93~54 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f72d7fa132538ed66048797759a9d59f99c5b8a3;p=emacs.git * lisp/progmodes/python.el (python-mode): Don't set mode-require-final-newline. Fixes: debbugs:17990 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 100d57f3893..9c41c6f7ade 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-07-20 Fabián Ezequiel Gallina + + * progmodes/python.el (python-mode): Don't set + mode-require-final-newline. (Bug#17990) + 2014-07-20 Fabián Ezequiel Gallina Make python.el work with IPython automatically. (Bug#15510) diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 229874d3d51..f4ff03e2405 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -4023,8 +4023,6 @@ returned as is." ,(lambda (_arg) (python-nav-end-of-defun)) 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) ":[^\n]*\n")