Commit 0301b295 authored by Sean Whitton's avatar Sean Whitton Committed by Lars Ingebrigtsen
Browse files

Don't drop existing escape char in eshell

* lisp/eshell/em-term.el (eshell-exec-visual): Don't drop existing
escape char.
parent 582356c4
Pipeline #18721 failed with stages
in 255 minutes and 19 seconds
......@@ -186,8 +186,10 @@ allowed."
(set-process-sentinel proc #'eshell-term-sentinel)
(error "Failed to invoke visual command")))
(if eshell-escape-control-x
(term-set-escape-char ?\C-x))))
(when eshell-escape-control-x
;; Don't drop existing escape char.
(let (term-escape-char)
(term-set-escape-char ?\C-x)))))
;; Process sentinels receive two arguments.
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