# HG changeset patch # User Richard M. Stallman # Date 779920201 0 # Node ID 30d1c79f19b6663299c9d024eaa36a4964e89aff # Parent 32393645552520c200ba54f1976c694fb5179d4b (tex-start-shell): Inherit comint-mode-map, don't copy. diff -r 323936455525 -r 30d1c79f19b6 lisp/textmodes/tex-mode.el --- a/lisp/textmodes/tex-mode.el Sun Sep 18 20:28:23 1994 +0000 +++ b/lisp/textmodes/tex-mode.el Sun Sep 18 20:30:01 1994 +0000 @@ -824,7 +824,7 @@ (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)