Commit dbfaa1b1 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(tex-start-shell): Inherit comint-mode-map, don't copy.

parent 1ed30e75
......@@ -824,7 +824,7 @@ line numbers for the errors."
(let ((proc (get-process "tex-shell")))
(set-process-sentinel proc 'tex-shell-sentinel)
(process-kill-without-query proc)
(setq tex-shell-map (copy-keymap shell-mode-map))
(setq tex-shell-map (nconc (make-sparse-keymap) shell-mode-map))
(tex-define-common-keys tex-shell-map)
(use-local-map tex-shell-map)
(run-hooks 'tex-shell-hook)
......
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