aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/textmodes/picture.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/textmodes/picture.el b/lisp/textmodes/picture.el
index 0ef0630a202..393e5883538 100644
--- a/lisp/textmodes/picture.el
+++ b/lisp/textmodes/picture.el
@@ -240,11 +240,11 @@ Do \\[command-apropos] `picture-movement' to see commands which control motion."
240 (while (> arg 0) 240 (while (> arg 0)
241 (setq arg (1- arg)) 241 (setq arg (1- arg))
242 (if (/= picture-desired-column (current-column)) 242 (if (/= picture-desired-column (current-column))
243 (move-to-column-force picture-desired-column)) 243 (move-to-column picture-desired-column t))
244 (let ((col (+ picture-desired-column width))) 244 (let ((col (+ picture-desired-column width)))
245 (or (eolp) 245 (or (eolp)
246 (let ((pos (point))) 246 (let ((pos (point)))
247 (move-to-column-force col) 247 (move-to-column col t)
248 (delete-region pos (point))))) 248 (delete-region pos (point)))))
249 (insert ch) 249 (insert ch)
250 (forward-char -1) 250 (forward-char -1)
@@ -265,7 +265,7 @@ Do \\[command-apropos] `picture-movement' to see those commands."
265 (let* ((original-col (current-column)) 265 (let* ((original-col (current-column))
266 (target-col (max 0 (+ original-col arg))) 266 (target-col (max 0 (+ original-col arg)))
267 pos) 267 pos)
268 (move-to-column-force target-col) 268 (move-to-column target-col t)
269 (setq pos (point)) 269 (setq pos (point))
270 (move-to-column original-col) 270 (move-to-column original-col)
271 (delete-region pos (point)) 271 (delete-region pos (point))
@@ -547,7 +547,7 @@ Leaves the region surrounding the rectangle."
547 (top (min r1 r2)) 547 (top (min r1 r2))
548 (bottom (max r1 r2))) 548 (bottom (max r1 r2)))
549 (goto-line top) 549 (goto-line top)
550 (move-to-column-force left) 550 (move-to-column left t)
551 (picture-update-desired-column t) 551 (picture-update-desired-column t)
552 552
553 (picture-movement-right) 553 (picture-movement-right)