aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/python.el6
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 62d3ba4445c..9ac4f6b1bf1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
2
3 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
4 (bug#18462).
5
12014-09-27 Stefan Monnier <monnier@iro.umontreal.ca> 62014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * emacs-lisp/package.el (package-check-signature): Default to nil if 8 * emacs-lisp/package.el (package-check-signature): Default to nil if
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 740dfee5870..d5126fa8881 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -3107,7 +3107,8 @@ JUSTIFY should be used (if applicable) as in `fill-paragraph'."
3107 (end-of-line) 3107 (end-of-line)
3108 (when (not (python-syntax-context 'paren)) 3108 (when (not (python-syntax-context 'paren))
3109 (skip-syntax-backward "^)"))) 3109 (skip-syntax-backward "^)")))
3110 (while (python-syntax-context 'paren) 3110 (while (and (python-syntax-context 'paren)
3111 (not (eobp)))
3111 (goto-char (1+ (point-marker)))) 3112 (goto-char (1+ (point-marker))))
3112 (point-marker))) 3113 (point-marker)))
3113 (let ((paragraph-start "\f\\|[ \t]*$") 3114 (let ((paragraph-start "\f\\|[ \t]*$")
@@ -3118,7 +3119,8 @@ JUSTIFY should be used (if applicable) as in `fill-paragraph'."
3118 (while (not (eobp)) 3119 (while (not (eobp))
3119 (forward-line 1) 3120 (forward-line 1)
3120 (python-indent-line) 3121 (python-indent-line)
3121 (goto-char (line-end-position)))) t) 3122 (goto-char (line-end-position))))
3123 t)
3122 3124
3123 3125
3124;;; Skeletons 3126;;; Skeletons