(term-emulate-terminal): Fix last change.
This commit is contained in:
parent
2400310de0
commit
04e7ed7b6e
1 changed files with 3 additions and 3 deletions
|
@ -2829,9 +2829,9 @@ See `term-prompt-regexp'."
|
|||
((eq char ?\032)
|
||||
(let ((end (string-match "\r?$" str i)))
|
||||
(if end
|
||||
(progn (funcall term-command-hook
|
||||
(substring str (1+ i) end))
|
||||
(setq i (match-end 0)))
|
||||
(funcall term-command-hook
|
||||
(prog1 (substring str (1+ i) end)
|
||||
(setq i (match-end 0))))
|
||||
(setq term-terminal-parameter
|
||||
(substring str i))
|
||||
(setq term-terminal-state 4)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue