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.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index c9774a15bbb..eb17d075921 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1585,7 +1585,7 @@ forward only one sexp, else move backwards."
1585With positive optional argument DIR direction move forward, else 1585With positive optional argument DIR direction move forward, else
1586backwards. When optional argument SAFE is non-nil do not throw 1586backwards. When optional argument SAFE is non-nil do not throw
1587errors when at end of sexp, skip it instead. With optional 1587errors when at end of sexp, skip it instead. With optional
1588argument SKIP-PARENS-P force sexp motion to ignore parenthised 1588argument SKIP-PARENS-P force sexp motion to ignore parenthesized
1589expressions when looking at them in either direction." 1589expressions when looking at them in either direction."
1590 (setq dir (or dir 1)) 1590 (setq dir (or dir 1))
1591 (unless (= dir 0) 1591 (unless (= dir 0)
@@ -1683,7 +1683,7 @@ expressions when looking at them in either direction."
1683With ARG, do it that many times. Negative arg -N means move 1683With ARG, do it that many times. Negative arg -N means move
1684backward N times. When optional argument SAFE is non-nil do not 1684backward N times. When optional argument SAFE is non-nil do not
1685throw errors when at end of sexp, skip it instead. With optional 1685throw errors when at end of sexp, skip it instead. With optional
1686argument SKIP-PARENS-P force sexp motion to ignore parenthised 1686argument SKIP-PARENS-P force sexp motion to ignore parenthesized
1687expressions when looking at them in either direction (forced to t 1687expressions when looking at them in either direction (forced to t
1688in interactive calls)." 1688in interactive calls)."
1689 (interactive "^p") 1689 (interactive "^p")
@@ -1694,7 +1694,7 @@ in interactive calls)."
1694 ;; interactive detection by checking `current-prefix-arg'. The 1694 ;; interactive detection by checking `current-prefix-arg'. The
1695 ;; reason to make this distinction is that lisp functions like 1695 ;; reason to make this distinction is that lisp functions like
1696 ;; `blink-matching-open' get confused causing issues like the one in 1696 ;; `blink-matching-open' get confused causing issues like the one in
1697 ;; Bug#16191. With this approach the user gets a simmetric behavior 1697 ;; Bug#16191. With this approach the user gets a symmetric behavior
1698 ;; when working interactively while called functions expecting 1698 ;; when working interactively while called functions expecting
1699 ;; paren-based sexp motion work just fine. 1699 ;; paren-based sexp motion work just fine.
1700 (or 1700 (or
@@ -1717,7 +1717,7 @@ in interactive calls)."
1717With ARG, do it that many times. Negative arg -N means move 1717With ARG, do it that many times. Negative arg -N means move
1718forward N times. When optional argument SAFE is non-nil do not 1718forward N times. When optional argument SAFE is non-nil do not
1719throw errors when at end of sexp, skip it instead. With optional 1719throw errors when at end of sexp, skip it instead. With optional
1720argument SKIP-PARENS-P force sexp motion to ignore parenthised 1720argument SKIP-PARENS-P force sexp motion to ignore parenthesized
1721expressions when looking at them in either direction (forced to t 1721expressions when looking at them in either direction (forced to t
1722in interactive calls)." 1722in interactive calls)."
1723 (interactive "^p") 1723 (interactive "^p")
@@ -1728,7 +1728,7 @@ in interactive calls)."
1728 "Move forward safely across expressions. 1728 "Move forward safely across expressions.
1729With ARG, do it that many times. Negative arg -N means move 1729With ARG, do it that many times. Negative arg -N means move
1730backward N times. With optional argument SKIP-PARENS-P force 1730backward N times. With optional argument SKIP-PARENS-P force
1731sexp motion to ignore parenthised expressions when looking at 1731sexp motion to ignore parenthesized expressions when looking at
1732them in either direction (forced to t in interactive calls)." 1732them in either direction (forced to t in interactive calls)."
1733 (interactive "^p") 1733 (interactive "^p")
1734 (python-nav-forward-sexp arg t skip-parens-p)) 1734 (python-nav-forward-sexp arg t skip-parens-p))
@@ -1737,7 +1737,7 @@ them in either direction (forced to t in interactive calls)."
1737 "Move backward safely across expressions. 1737 "Move backward safely across expressions.
1738With ARG, do it that many times. Negative arg -N means move 1738With ARG, do it that many times. Negative arg -N means move
1739forward N times. With optional argument SKIP-PARENS-P force sexp 1739forward N times. With optional argument SKIP-PARENS-P force sexp
1740motion to ignore parenthised expressions when looking at them in 1740motion to ignore parenthesized expressions when looking at them in
1741either direction (forced to t in interactive calls)." 1741either direction (forced to t in interactive calls)."
1742 (interactive "^p") 1742 (interactive "^p")
1743 (python-nav-backward-sexp arg t skip-parens-p)) 1743 (python-nav-backward-sexp arg t skip-parens-p))