diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index cacd56b6639..7221d8ecb73 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -2008,9 +2008,10 @@ COUNT defaults to `python-indent'. If region isn't active, just shift | |||
| 2008 | current line. The region shifted includes the lines in which START and | 2008 | current line. The region shifted includes the lines in which START and |
| 2009 | END lie. It is an error if any lines in the region are indented less than | 2009 | END lie. It is an error if any lines in the region are indented less than |
| 2010 | COUNT columns." | 2010 | COUNT columns." |
| 2011 | (interactive (if mark-active | 2011 | (interactive |
| 2012 | (list (region-beginning) (region-end) current-prefix-arg) | 2012 | (if mark-active |
| 2013 | (list (point) (point) current-prefix-arg))) | 2013 | (list (region-beginning) (region-end) current-prefix-arg) |
| 2014 | (list (line-beginning-position) (line-end-position) current-prefix-arg))) | ||
| 2014 | (if count | 2015 | (if count |
| 2015 | (setq count (prefix-numeric-value count)) | 2016 | (setq count (prefix-numeric-value count)) |
| 2016 | (setq count python-indent)) | 2017 | (setq count python-indent)) |
| @@ -2031,9 +2032,10 @@ COUNT columns." | |||
| 2031 | COUNT defaults to `python-indent'. If region isn't active, just shift | 2032 | COUNT defaults to `python-indent'. If region isn't active, just shift |
| 2032 | current line. The region shifted includes the lines in which START and | 2033 | current line. The region shifted includes the lines in which START and |
| 2033 | END lie." | 2034 | END lie." |
| 2034 | (interactive (if mark-active | 2035 | (interactive |
| 2035 | (list (region-beginning) (region-end) current-prefix-arg) | 2036 | (if mark-active |
| 2036 | (list (point) (point) current-prefix-arg))) | 2037 | (list (region-beginning) (region-end) current-prefix-arg) |
| 2038 | (list (line-beginning-position) (line-end-position) current-prefix-arg))) | ||
| 2037 | (if count | 2039 | (if count |
| 2038 | (setq count (prefix-numeric-value count)) | 2040 | (setq count (prefix-numeric-value count)) |
| 2039 | (setq count python-indent)) | 2041 | (setq count python-indent)) |