]> git.eshelyaron.com Git - emacs.git/commitdiff
(tex-start-shell): Inherit comint-mode-map, don't copy.
authorRichard M. Stallman <rms@gnu.org>
Sun, 18 Sep 1994 20:30:01 +0000 (20:30 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 18 Sep 1994 20:30:01 +0000 (20:30 +0000)
lisp/textmodes/tex-mode.el

index bec121b4100d545fbcc9ad271b0104fd6f47e41a..8a89ca2dfe6e49a301ff42d9a1c0f97e4e6773dc 100644 (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)