mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(term-emulate-terminal): Fix last change.
This commit is contained in:
parent
2400310de0
commit
04e7ed7b6e
@ -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…
Reference in New Issue
Block a user