summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-05-11 17:11:06 +0000
committerRichard M. Stallman <rms@gnu.org>1996-05-11 17:11:06 +0000
commite38ee395e84bf519f98554da69063fb9e1327243 (patch)
treed23413914fca7a59410f3142b83ac6a06c51a965 /lisp
parent8060ee8f145887733387da5d163a66a0e9b8cccb (diff)
downloademacs-e38ee395e84bf519f98554da69063fb9e1327243.tar.gz
(term-emulate-terminal): On CR, set term-current-column
to term-start-line-column, not 0.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/term.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/term.el b/lisp/term.el
index 4ea880de1ee..4209e8129f2 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -2189,7 +2189,7 @@ See `term-prompt-regexp'."
(setq i temp))
(t ;; Not followed by LF or can't optimize:
(term-vertical-motion 0)
- (setq term-current-column 0))))
+ (setq term-current-column term-start-line-column))))
((eq char ?\n)
(if (not (and term-kill-echo-list
(term-check-kill-echo-list)))