Kaydet (Commit) 71e315b9 authored tarafından Barry Warsaw's avatar Barry Warsaw

(py-shift-region-left): When checking for left edged code, watch for

blank lines.
üst d3876d33
......@@ -963,7 +963,8 @@ You cannot outdent the region if any line is already at column zero."
(goto-char start)
(while (< (point) end)
(back-to-indentation)
(if (zerop (current-column))
(if (and (zerop (current-column))
(not (looking-at "\\s *$")))
(error "Region is at left edge."))
(forward-line 1)))
(py-shift-region start end (- (prefix-numeric-value
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment