diff options
| author | Richard M. Stallman | 1996-05-11 17:11:06 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-05-11 17:11:06 +0000 |
| commit | e38ee395e84bf519f98554da69063fb9e1327243 (patch) | |
| tree | d23413914fca7a59410f3142b83ac6a06c51a965 | |
| parent | 8060ee8f145887733387da5d163a66a0e9b8cccb (diff) | |
| download | emacs-e38ee395e84bf519f98554da69063fb9e1327243.tar.gz emacs-e38ee395e84bf519f98554da69063fb9e1327243.zip | |
(term-emulate-terminal): On CR, set term-current-column
to term-start-line-column, not 0.
| -rw-r--r-- | lisp/term.el | 2 |
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'." | |||
| 2189 | (setq i temp)) | 2189 | (setq i temp)) |
| 2190 | (t ;; Not followed by LF or can't optimize: | 2190 | (t ;; Not followed by LF or can't optimize: |
| 2191 | (term-vertical-motion 0) | 2191 | (term-vertical-motion 0) |
| 2192 | (setq term-current-column 0)))) | 2192 | (setq term-current-column term-start-line-column)))) |
| 2193 | ((eq char ?\n) | 2193 | ((eq char ?\n) |
| 2194 | (if (not (and term-kill-echo-list | 2194 | (if (not (and term-kill-echo-list |
| 2195 | (term-check-kill-echo-list))) | 2195 | (term-check-kill-echo-list))) |