summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-03-14 08:57:36 +0000
committerRichard M. Stallman <rms@gnu.org>2002-03-14 08:57:36 +0000
commit5ed5b2c2da7837f229be2e7d8d6cdd62796a255d (patch)
tree182089166ce1125ccc09bb0469dac5607275673c
parenta5e28954df9f7836e5e439a4c5bf513be7142b34 (diff)
downloademacs-5ed5b2c2da7837f229be2e7d8d6cdd62796a255d.tar.gz
(picture-insert, picture-clear-column, picture-draw-rectangle):
Use move-to-column, not move-to-column-force.
-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."
(while (> arg 0)
(setq arg (1- arg))
(if (/= picture-desired-column (current-column))
- (move-to-column-force picture-desired-column))
+ (move-to-column picture-desired-column t))
(let ((col (+ picture-desired-column width)))
(or (eolp)
(let ((pos (point)))
- (move-to-column-force col)
+ (move-to-column col t)
(delete-region pos (point)))))
(insert ch)
(forward-char -1)
@@ -265,7 +265,7 @@ Do \\[command-apropos] `picture-movement' to see those commands."
(let* ((original-col (current-column))
(target-col (max 0 (+ original-col arg)))
pos)
- (move-to-column-force target-col)
+ (move-to-column target-col t)
(setq pos (point))
(move-to-column original-col)
(delete-region pos (point))
@@ -547,7 +547,7 @@ Leaves the region surrounding the rectangle."
(top (min r1 r2))
(bottom (max r1 r2)))
(goto-line top)
- (move-to-column-force left)
+ (move-to-column left t)
(picture-update-desired-column t)
(picture-movement-right)