Permalink
Browse files

Update to latest version of fgallina's python.el

 - Adapt to changes in names, and augment test.
  • Loading branch information...
1 parent b16e686 commit 1c3d599c127f3f16138b96d8e17c376d82b5af61 @fgeller fgeller committed Jul 21, 2012
@@ -117,7 +117,15 @@ Feature: fgallinas python.el expansions
"""
And I go to point "1"
And I press "C-@"
+ Then the region should be:
+ """
+ if
+ """
And I press "C-@"
+ Then the region should be:
+ """
+ if True:
+ """
And I press "C-@"
Then the region should be:
"""
Submodule python-el updated 1 files
+151 −146 python.el
@@ -83,9 +83,9 @@ Command that wraps `er/mark-python-string'."
(defun er/mark-python-statement ()
"Mark the Python statement that surrounds point."
(interactive)
- (python-nav-statement-end)
+ (python-nav-end-of-statement)
(set-mark (point))
- (python-nav-statement-start))
+ (python-nav-beginning-of-statement))
(defun er/mark-python-block (&optional next-indent-level)
"Mark the Python block that surrounds point.

0 comments on commit 1c3d599

Please sign in to comment.