aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 15d98ce48af..3ef872d26eb 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1004,9 +1004,10 @@ On a comment line, go to end of line."
1004 (error (goto-char pos) (end-of-line))))) 1004 (error (goto-char pos) (end-of-line)))))
1005 ((python-skip-out t s)))) 1005 ((python-skip-out t s))))
1006 (end-of-line)) 1006 (end-of-line))
1007 (unless comment 1007 (and (not comment)
1008 (eq ?\\ (char-before)))) ; Line continued? 1008 (not (eobp))
1009 (end-of-line 2)) ; Try next line. 1009 (eq ?\\ (char-before)))) ; Line continued?
1010 (end-of-line 2)) ; Try next line.
1010 (point)) 1011 (point))
1011 1012
1012(defun python-previous-statement (&optional count) 1013(defun python-previous-statement (&optional count)