summaryrefslogtreecommitdiff
path: root/lisp/textmodes/picture.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/textmodes/picture.el')
-rw-r--r--lisp/textmodes/picture.el6
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/textmodes/picture.el b/lisp/textmodes/picture.el
index b77f8e9717c..4aee2734158 100644
--- a/lisp/textmodes/picture.el
+++ b/lisp/textmodes/picture.el
@@ -272,11 +272,7 @@ Use \"\\[command-apropos] picture-movement\" to see commands which control motio
(or (eolp)
(let ((pos (point)))
(move-to-column col t)
- (let ((old-width (string-width (buffer-substring pos (point)))))
- (delete-region pos (point))
- (when (> old-width width)
- (insert-char ? (- old-width width))
- (goto-char pos))))))
+ (delete-region pos (point)))))
(insert ch)
(forward-char -1)
(picture-move))))