changeset 8890:30d1c79f19b6

(tex-start-shell): Inherit comint-mode-map, don't copy.
author Richard M. Stallman <rms@gnu.org>
date Sun, 18 Sep 1994 20:30:01 +0000
parents 323936455525
children 6f72d6c642e3
files lisp/textmodes/tex-mode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)