Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
46ea0665
Commit
46ea0665
authored
Feb 03, 2002
by
Eli Zaretskii
Browse files
(term-emulate-terminal): Extract proper command string
which is supplied to term-command-hook.
parent
47edc1f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/term.el
lisp/term.el
+3
-3
No files found.
lisp/ChangeLog
View file @
46ea0665
2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
* term.el (term-emulate-terminal): Extract proper command string
which is supplied to term-command-hook.
2002-02-03 Richard M. Stallman <rms@gnu.org>
* international/quail.el (quail-help): Don't call help-setup-xref.
...
...
lisp/term.el
View file @
46ea0665
...
...
@@ -2827,11 +2827,11 @@ See `term-prompt-regexp'."
((
eq
char
?\^G
)
(
beep
t
))
; Bell
((
eq
char
?\032
)
(
let
((
end
(
string-match
"\
n
"
str
i
)))
(
let
((
end
(
string-match
"\
r?$
"
str
i
)))
(
if
end
(
progn
(
funcall
term-command-hook
(
substring
str
(
1+
i
)
(
1-
end
))
)
(
setq
i
end
))
(
substring
str
(
1+
i
)
end
))
(
setq
i
(
match-end
0
)
))
(
setq
term-terminal-parameter
(
substring
str
i
))
(
setq
term-terminal-state
4
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment