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
8582e4c4
Commit
8582e4c4
authored
May 10, 2013
by
Glenn Morris
Browse files
* lisp/term.el (term-set-escape-char): Make it idempotent.
parent
f79362a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/term.el
lisp/term.el
+1
-1
No files found.
lisp/ChangeLog
View file @
8582e4c4
2013-05-11 Glenn Morris <rgm@gnu.org>
* term.el (term-set-escape-char): Make it idempotent.
2013-05-10 Leo Liu <sdl.web@gmail.com>
* progmodes/octave.el (inferior-octave-completion-table): No
...
...
lisp/term.el
View file @
8582e4c4
...
...
@@ -953,7 +953,7 @@ is buffer-local."
(
when
term-escape-char
;; Undo previous term-set-escape-char.
(
define-key
term-raw-map
term-escape-char
'term-send-raw
))
(
setq
term-escape-char
(
vector
key
))
(
setq
term-escape-char
(
if
(
vectorp
key
)
key
(
vector
key
))
)
(
define-key
term-raw-map
term-escape-char
term-raw-escape-map
)
;; FIXME: If we later call term-set-escape-char again with another key,
;; we should undo this binding.
...
...
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