]> git.eshelyaron.com Git - emacs.git/commit
python.el: Keep symmetry on sexp navigation with parens
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Mon, 13 Apr 2015 01:43:44 +0000 (22:43 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Mon, 13 Apr 2015 01:43:44 +0000 (22:43 -0300)
commit659609d1820129217e8c4526b629feddf3416767
tree0c3e47ff0f8852d6b60fc29d781cb9930e5732a9
parented28ca4c2429059608178d3d477dd169aae1f476
python.el: Keep symmetry on sexp navigation with parens

Fixes: debbugs:19954
* lisp/progmodes/python.el
(python-nav--forward-sexp): Add argument skip-parens-p.
(python-nav-forward-sexp, python-nav-backward-sexp)
(python-nav-forward-sexp-safe)
(python-nav-backward-sexp-safe): Use it.

* test/automated/python-tests.el
(python-nav-forward-sexp-1): Fix test.
lisp/progmodes/python.el
test/automated/python-tests.el