1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

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

This commit is contained in:
Richard M. Stallman 1994-09-18 20:30:01 +00:00
parent 1ed30e752a
commit dbfaa1b1ff

View File

@ -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)