From: Richard M. Stallman Date: Sun, 18 Sep 1994 20:30:01 +0000 (+0000) Subject: (tex-start-shell): Inherit comint-mode-map, don't copy. X-Git-Tag: emacs-19.34~6964 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dbfaa1b1ff1a1eff50a157a723f505a2476c014b;p=emacs.git (tex-start-shell): Inherit comint-mode-map, don't copy. --- diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index bec121b4100..8a89ca2dfe6 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -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)