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
0bb24df1
Commit
0bb24df1
authored
Dec 05, 2014
by
Stefan Monnier
Browse files
Merge from origin/emacs-24
bb19b229
Python.el: Update commentary on RET-behavior
parents
be307485
bb19b229
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
lisp/progmodes/python.el
lisp/progmodes/python.el
+6
-4
No files found.
lisp/progmodes/python.el
View file @
0bb24df1
...
...
@@ -217,11 +217,13 @@
;; `python-imenu-format-parent-item-jump-label-function' variables for
;; changing the way labels are formatted in the tree version.
;; If you used python-mode.el you
probably will
miss auto-indentation
;;
when
inserting newlines. To achieve the same behavior you have
;;
two
options:
;; If you used python-mode.el you
may
miss auto-indentation
when
;; inserting newlines. To achieve the same behavior you have
two
;; options:
;; 1) Use GNU/Emacs' standard binding for `newline-and-indent': C-j.
;; 1) Enable the minor-mode `electric-indent-mode' (enabled by
;; default) and use RET. If this mode is disabled use
;; `newline-and-indent', bound to C-j.
;; 2) Add the following hook in your .emacs:
...
...
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