diff options
| author | Richard M. Stallman | 1994-09-18 20:30:01 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-09-18 20:30:01 +0000 |
| commit | dbfaa1b1ff1a1eff50a157a723f505a2476c014b (patch) | |
| tree | c1f871cd3363dc6360e5947bf3f48e9fb86cef8c | |
| parent | 1ed30e752a465c8f34ed5ffce9ab9d6e2b064ff0 (diff) | |
| download | emacs-dbfaa1b1ff1a1eff50a157a723f505a2476c014b.tar.gz emacs-dbfaa1b1ff1a1eff50a157a723f505a2476c014b.zip | |
(tex-start-shell): Inherit comint-mode-map, don't copy.
| -rw-r--r-- | lisp/textmodes/tex-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
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." | |||
| 824 | (let ((proc (get-process "tex-shell"))) | 824 | (let ((proc (get-process "tex-shell"))) |
| 825 | (set-process-sentinel proc 'tex-shell-sentinel) | 825 | (set-process-sentinel proc 'tex-shell-sentinel) |
| 826 | (process-kill-without-query proc) | 826 | (process-kill-without-query proc) |
| 827 | (setq tex-shell-map (copy-keymap shell-mode-map)) | 827 | (setq tex-shell-map (nconc (make-sparse-keymap) shell-mode-map)) |
| 828 | (tex-define-common-keys tex-shell-map) | 828 | (tex-define-common-keys tex-shell-map) |
| 829 | (use-local-map tex-shell-map) | 829 | (use-local-map tex-shell-map) |
| 830 | (run-hooks 'tex-shell-hook) | 830 | (run-hooks 'tex-shell-hook) |