emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-24 r117391: * lisp/progmodes/python.el (python-mode)


From: Fabián Ezequiel Gallina
Subject: [Emacs-diffs] emacs-24 r117391: * lisp/progmodes/python.el (python-mode): Don't set
Date: Sun, 20 Jul 2014 18:29:05 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117391
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/17990
committer: Fabián Ezequiel Gallina <address@hidden>
branch nick: emacs-24
timestamp: Sun 2014-07-20 15:28:50 -0300
message:
  * lisp/progmodes/python.el (python-mode): Don't set
  mode-require-final-newline.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/progmodes/python.el       python.el-20091113204419-o5vbwnq5f7feedwu-3008
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-07-20 18:12:30 +0000
+++ b/lisp/ChangeLog    2014-07-20 18:28:50 +0000
@@ -1,5 +1,10 @@
 2014-07-20  Fabián Ezequiel Gallina  <address@hidden>
 
+       * progmodes/python.el (python-mode): Don't set
+       mode-require-final-newline.  (Bug#17990)
+
+2014-07-20  Fabián Ezequiel Gallina  <address@hidden>
+
        Make python.el work with IPython automatically.  (Bug#15510)
        * progmodes/python.el:
        (python-shell-completion-setup-code): New value supporting iPython.

=== modified file 'lisp/progmodes/python.el'
--- a/lisp/progmodes/python.el  2014-07-20 18:12:30 +0000
+++ b/lisp/progmodes/python.el  2014-07-20 18:28:50 +0000
@@ -4023,8 +4023,6 @@
                              ,(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")


reply via email to

[Prev in Thread] Current Thread [Next in Thread]