aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-12-21 20:08:17 +0000
committerRichard M. Stallman1994-12-21 20:08:17 +0000
commit191cda94a8a5d4bdc42e0d19c40f4ed3cf3f06d0 (patch)
tree883ab875c3aa66d840be516a159d01ace4d9d397
parent2fb419e1ced9b2e9d02a9c15714c49704ad9df42 (diff)
downloademacs-191cda94a8a5d4bdc42e0d19c40f4ed3cf3f06d0.tar.gz
emacs-191cda94a8a5d4bdc42e0d19c40f4ed3cf3f06d0.zip
(tex-start-shell): Use inheritance.
-rw-r--r--lisp/textmodes/tex-mode.el2
1 files changed, 1 insertions, 1 deletions
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."
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 comint-prompt-regexp shell-prompt-pattern) 827 (setq comint-prompt-regexp shell-prompt-pattern)
828 (setq tex-shell-map (copy-keymap shell-mode-map)) 828 (setq tex-shell-map (nconc (make-sparse-keymap) shell-mode-map))
829 (tex-define-common-keys tex-shell-map) 829 (tex-define-common-keys tex-shell-map)
830 (use-local-map tex-shell-map) 830 (use-local-map tex-shell-map)
831 (run-hooks 'tex-shell-hook) 831 (run-hooks 'tex-shell-hook)