[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-24 bb19b22: Python.el: Update commentary on RET-beha
From: |
Fabián Ezequiel Gallina |
Subject: |
[Emacs-diffs] emacs-24 bb19b22: Python.el: Update commentary on RET-behavior |
Date: |
Sat, 29 Nov 2014 17:00:57 +0000 |
branch: emacs-24
commit bb19b229f9c1c32ed8829f14f670bfd9d7ebe2a2
Author: Rasmus <address@hidden>
Date: Sat Nov 29 13:37:13 2014 +0100
Python.el: Update commentary on RET-behavior
Commentary reflect that `electric-indent-mode' in enabled by default.
---
lisp/progmodes/python.el | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 48d80b9..521f0b5 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -209,11 +209,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:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-24 bb19b22: Python.el: Update commentary on RET-behavior,
Fabián Ezequiel Gallina <=