aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorJoakim Verona2012-02-15 15:12:49 +0100
committerJoakim Verona2012-02-15 15:12:49 +0100
commit02db17e53bf46c91b2cb8ee33b43d8ae252a1681 (patch)
treefcafa961e884648e15524130f1dbca55dc7093d0 /lisp/progmodes/python.el
parent736ab04e2752e7c3c5b5070a0d62279dcfb12b27 (diff)
parent1deeb569b1247db4c0b2eea4906a9e53e5ee7e99 (diff)
downloademacs-02db17e53bf46c91b2cb8ee33b43d8ae252a1681.tar.gz
emacs-02db17e53bf46c91b2cb8ee33b43d8ae252a1681.zip
upstream
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)