Subject: bug#12842: 24.2.50; ansi-term does not recognize escape sequence

From: Glenn Morris <[email-masked]>
Date: Fri, 09 Nov 2012 14:45:04 -0500

I suppose this change will bring back the traditional ansi-term
behaviour. The other option is to remove this term-set-escape-char call
altogether (then we get the same bug report from someone used to the C-x
binding).

*** lisp/term.el	2012-09-27 07:05:37 +0000
--- lisp/term.el	2012-11-09 19:41:36 +0000
***************
*** 4180,4186 ****
    ;; your mileage may definitely vary, maybe it's better to put this in your
    ;; .emacs ...
  
!   (term-set-escape-char ?\C-x)
  
    (switch-to-buffer term-ansi-buffer-name))
  
--- 4180,4187 ----
    ;; your mileage may definitely vary, maybe it's better to put this in your
    ;; .emacs ...
  
!   (let (term-escape-char)
!     (term-set-escape-char ?\C-x))
  
    (switch-to-buffer term-ansi-buffer-name))