]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/python.el (python-mode): Don't set
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Sun, 20 Jul 2014 18:28:50 +0000 (15:28 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Sun, 20 Jul 2014 18:28:50 +0000 (15:28 -0300)
mode-require-final-newline.

Fixes: debbugs:17990
lisp/ChangeLog
lisp/progmodes/python.el

index 100d57f38930178fc5dc7068d0787fea36ae62d4..9c41c6f7ade1d399bdfdcaecd33969b2b8fc0e23 100644 (file)
@@ -1,3 +1,8 @@
+2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>
+
+       * progmodes/python.el (python-mode): Don't set
+       mode-require-final-newline.  (Bug#17990)
+
 2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>
 
        Make python.el work with IPython automatically.  (Bug#15510)
index 229874d3d5115f01277a978edc955ad9d03206aa..f4ff03e240563ac884458b200ac8169959815521 100644 (file)
@@ -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")