]> code.delx.au - gnu-emacs/commitdiff
Comment change.
authorRichard M. Stallman <rms@gnu.org>
Thu, 11 Nov 1993 10:05:51 +0000 (10:05 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 11 Nov 1993 10:05:51 +0000 (10:05 +0000)
lisp/comint.el

index d1f025afaaa2504156f0508e92fd13e5e7d5734e..6ac896fbbc147b8a585a6985896328d8d702ccdd 100644 (file)
@@ -2041,17 +2041,21 @@ Typing SPC flushes the help buffer."
 ;;; comint-mode will take care of it. The following example, from shell.el,
 ;;; is typical:
 ;;; 
+;;; (defvar shell-mode-map '())
+;;; (cond ((not shell-mode-map)
+;;;        (setq shell-mode-map (full-copy-sparse-keymap comint-mode-map))
+;;;        (define-key shell-mode-map "\C-c\C-f" 'shell-forward-command)
+;;;        (define-key shell-mode-map "\C-c\C-b" 'shell-backward-command)
+;;;        (define-key shell-mode-map "\t" 'comint-dynamic-complete)
+;;;        (define-key shell-mode-map "\M-?"
+;;;          'comint-dynamic-list-filename-completions)))
+;;;
 ;;; (defun shell-mode ()
 ;;;   (interactive)
 ;;;   (comint-mode)
 ;;;   (setq comint-prompt-regexp shell-prompt-pattern)
 ;;;   (setq major-mode 'shell-mode)
 ;;;   (setq mode-name "Shell")
-;;;   (cond ((not shell-mode-map)
-;;;         (setq shell-mode-map (full-copy-sparse-keymap comint-mode-map))
-;;;         (define-key shell-mode-map "\M-\t" 'comint-dynamic-complete)
-;;;         (define-key shell-mode-map "\M-?"
-;;;                      'comint-dynamic-list-filename-completions)))
 ;;;   (use-local-map shell-mode-map)
 ;;;   (make-local-variable 'shell-directory-stack)
 ;;;   (setq shell-directory-stack nil)