aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward M. Reingold1994-12-21 15:54:30 +0000
committerEdward M. Reingold1994-12-21 15:54:30 +0000
commitdca5ea48d9293c3c097bda171f75074bd930bd32 (patch)
treef9654a82296eb504e94d996a68faf56babc1dc2c
parenta5743acc05a500b9746f8815dd4d3c6bddf2c931 (diff)
downloademacs-dca5ea48d9293c3c097bda171f75074bd930bd32.tar.gz
emacs-dca5ea48d9293c3c097bda171f75074bd930bd32.zip
Make keymap for tex-shell the shell-mode-map.
-rw-r--r--lisp/textmodes/tex-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index ebf39c2765c..e87365bcdac 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -237,7 +237,7 @@ Set by \\[tex-region], \\[tex-buffer], and \\[tex-file].")
237 237
238(defvar tex-shell-map nil 238(defvar tex-shell-map nil
239 "Keymap for the TeX shell. 239 "Keymap for the TeX shell.
240Inherits `comint-mode-map' with a few additions.") 240Inherits `shell-mode-map' with a few additions.")
241 241
242(defvar compare-windows-whitespace) ; Pacify the byte-compiler 242(defvar compare-windows-whitespace) ; Pacify the byte-compiler
243 243
@@ -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 comint-mode-map)) 828 (setq tex-shell-map (copy-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)