aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2013-06-01 13:21:22 -0700
committerGlenn Morris2013-06-01 13:21:22 -0700
commitf46305c86cd247b2396e73ce8bb064f69373834d (patch)
treee4eea4ee7548f8f16035d52ea13f040aef2cba1e
parent9133b82e6f850b96eeb8c1e2c62fbeb52f111673 (diff)
parent20992a85041ddd8c2852eaef24fe69f9a47019a2 (diff)
downloademacs-f46305c86cd247b2396e73ce8bb064f69373834d.tar.gz
emacs-f46305c86cd247b2396e73ce8bb064f69373834d.zip
Merge from emacs-24; up to 2012-12-27T20:09:45Z!juri@jurta.org
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/programs.texi2
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/python.el5
4 files changed, 13 insertions, 3 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 6845e39eae5..b1f9fb2a40d 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,7 @@
12013-06-01 Glenn Morris <rgm@gnu.org>
2
3 * programs.texi (Semantic): Fix typo.
4
12013-05-30 Xue Fuqiao <xfq.free@gmail.com> 52013-05-30 Xue Fuqiao <xfq.free@gmail.com>
2 6
3 * maintaining.texi (Types of Log File): Supplement some 7 * maintaining.texi (Types of Log File): Supplement some
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi
index 459221a9088..70eecf1c97b 100644
--- a/doc/emacs/programs.texi
+++ b/doc/emacs/programs.texi
@@ -1356,7 +1356,7 @@ the menu item named @samp{Source Code Parsers (Semantic)} in the
1356@samp{Tools} menu. This enables Semantic mode, a global minor mode. 1356@samp{Tools} menu. This enables Semantic mode, a global minor mode.
1357 1357
1358 When Semantic mode is enabled, Emacs automatically attempts to 1358 When Semantic mode is enabled, Emacs automatically attempts to
1359parses each file you visit. Currently, Semantic understands C, C++, 1359parse each file you visit. Currently, Semantic understands C, C++,
1360Scheme, Javascript, Java, HTML, and Make. Within each parsed buffer, 1360Scheme, Javascript, Java, HTML, and Make. Within each parsed buffer,
1361the following commands are available: 1361the following commands are available:
1362 1362
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 269deb86abe..56c340b1da4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
2
3 * progmodes/python.el (python-indent-block-enders): Add break,
4 continue and raise keywords.
5
12013-06-01 Glenn Morris <rgm@gnu.org> 62013-06-01 Glenn Morris <rgm@gnu.org>
2 7
3 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound. 8 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 641563ae0ab..ccb2dcba42e 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -157,7 +157,7 @@
157 157
158;; Skeletons: 6 skeletons are provided for simple inserting of class, 158;; Skeletons: 6 skeletons are provided for simple inserting of class,
159;; def, for, if, try and while. These skeletons are integrated with 159;; def, for, if, try and while. These skeletons are integrated with
160;; dabbrev. If you have `dabbrev-mode' activated and 160;; abbrev. If you have `abbrev-mode' activated and
161;; `python-skeleton-autoinsert' is set to t, then whenever you type 161;; `python-skeleton-autoinsert' is set to t, then whenever you type
162;; the name of any of those defined and hit SPC, they will be 162;; the name of any of those defined and hit SPC, they will be
163;; automatically expanded. As an alternative you can use the defined 163;; automatically expanded. As an alternative you can use the defined
@@ -642,7 +642,8 @@ It makes underscores and dots word constituent chars.")
642These make `python-indent-calculate-indentation' subtract the value of 642These make `python-indent-calculate-indentation' subtract the value of
643`python-indent-offset'.") 643`python-indent-offset'.")
644 644
645(defvar python-indent-block-enders '("return" "pass") 645(defvar python-indent-block-enders
646 '("break" "continue" "pass" "raise" "return")
646 "List of words that mark the end of a block. 647 "List of words that mark the end of a block.
647These make `python-indent-calculate-indentation' subtract the 648These make `python-indent-calculate-indentation' subtract the
648value of `python-indent-offset' when `python-indent-context' is 649value of `python-indent-offset' when `python-indent-context' is