summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2014-12-05 15:12:00 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2014-12-05 15:12:00 -0500
commit0bb24df135e9c44d2e5a78b58b10719eea9e413b (patch)
tree69f9f5c2df0eaefaa0b97dcd3df1d01a7ee28a9b /lisp
parentbe307485f722be57985da979296fa37569c2a5a9 (diff)
parentbb19b229f9c1c32ed8829f14f670bfd9d7ebe2a2 (diff)
downloademacs-0bb24df135e9c44d2e5a78b58b10719eea9e413b.tar.gz
emacs-0bb24df135e9c44d2e5a78b58b10719eea9e413b.tar.bz2
emacs-0bb24df135e9c44d2e5a78b58b10719eea9e413b.zip
Merge from origin/emacs-24
bb19b22 Python.el: Update commentary on RET-behavior
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/python.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index b99e195f407..9f9db6c6046 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -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: