Commit 8582e4c4 authored by Glenn Morris's avatar Glenn Morris
Browse files

* lisp/term.el (term-set-escape-char): Make it idempotent.

parent f79362a7
2013-05-11 Glenn Morris <>
* term.el (term-set-escape-char): Make it idempotent.
2013-05-10 Leo Liu <>
* progmodes/octave.el (inferior-octave-completion-table): No
......@@ -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.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment