]> code.delx.au - gnu-emacs/commitdiff
Merge from origin/emacs-24
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 5 Dec 2014 20:12:00 +0000 (15:12 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 5 Dec 2014 20:12:00 +0000 (15:12 -0500)
bb19b22 Python.el: Update commentary on RET-behavior

lisp/progmodes/python.el

index b99e195f407694e5d855309d27c9adfa854fc461..9f9db6c6046770a7df0017f42eaa87318f5830c9 100644 (file)
 ;; `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: