From: Richard M. Stallman Date: Wed, 21 Dec 1994 20:08:17 +0000 (+0000) Subject: (tex-start-shell): Use inheritance. X-Git-Tag: emacs-19.34~5652 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=191cda94a8a5d4bdc42e0d19c40f4ed3cf3f06d0;p=emacs.git (tex-start-shell): Use inheritance. --- diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index e87365bcdac..ba4482c57b8 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -825,7 +825,7 @@ line numbers for the errors." (set-process-sentinel proc 'tex-shell-sentinel) (process-kill-without-query proc) (setq comint-prompt-regexp shell-prompt-pattern) - (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)