Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f72d7fa1
Commit
f72d7fa1
authored
Jul 20, 2014
by
Fabián Ezequiel Gallina
Browse files
* lisp/progmodes/python.el (python-mode): Don't set
mode-require-final-newline. Fixes: debbugs:17990
parent
b06a0dff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/progmodes/python.el
lisp/progmodes/python.el
+0
-2
No files found.
lisp/ChangeLog
View file @
f72d7fa1
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)
...
...
lisp/progmodes/python.el
View file @
f72d7fa1
...
...
@@ -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
")
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment