changeset 4983:3be990e478dc

Comment change.
author Richard M. Stallman <rms@gnu.org>
date Thu, 11 Nov 1993 10:05:51 +0000
parents 36b78ccd6285
children 80fde3ca486e
files lisp/comint.el
diffstat 1 files changed, 9 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/comint.el	Thu Nov 11 07:56:04 1993 +0000
+++ b/lisp/comint.el	Thu Nov 11 10:05:51 1993 +0000
@@ -2041,17 +2041,21 @@
 ;;; 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)