aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-11-11 10:05:51 +0000
committerRichard M. Stallman1993-11-11 10:05:51 +0000
commitd55d5ec215842cdce72395efef01a1a6386a5d4e (patch)
tree5eae687ac61da37973a42f87b440c830ec379e75
parent9dc96d324c8f1435f95b9da383ca304d6f6432ad (diff)
downloademacs-d55d5ec215842cdce72395efef01a1a6386a5d4e.tar.gz
emacs-d55d5ec215842cdce72395efef01a1a6386a5d4e.zip
Comment change.
-rw-r--r--lisp/comint.el14
1 files changed, 9 insertions, 5 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index d1f025afaaa..6ac896fbbc1 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -2041,17 +2041,21 @@ Typing SPC flushes the help buffer."
2041;;; comint-mode will take care of it. The following example, from shell.el, 2041;;; comint-mode will take care of it. The following example, from shell.el,
2042;;; is typical: 2042;;; is typical:
2043;;; 2043;;;
2044;;; (defvar shell-mode-map '())
2045;;; (cond ((not shell-mode-map)
2046;;; (setq shell-mode-map (full-copy-sparse-keymap comint-mode-map))
2047;;; (define-key shell-mode-map "\C-c\C-f" 'shell-forward-command)
2048;;; (define-key shell-mode-map "\C-c\C-b" 'shell-backward-command)
2049;;; (define-key shell-mode-map "\t" 'comint-dynamic-complete)
2050;;; (define-key shell-mode-map "\M-?"
2051;;; 'comint-dynamic-list-filename-completions)))
2052;;;
2044;;; (defun shell-mode () 2053;;; (defun shell-mode ()
2045;;; (interactive) 2054;;; (interactive)
2046;;; (comint-mode) 2055;;; (comint-mode)
2047;;; (setq comint-prompt-regexp shell-prompt-pattern) 2056;;; (setq comint-prompt-regexp shell-prompt-pattern)
2048;;; (setq major-mode 'shell-mode) 2057;;; (setq major-mode 'shell-mode)
2049;;; (setq mode-name "Shell") 2058;;; (setq mode-name "Shell")
2050;;; (cond ((not shell-mode-map)
2051;;; (setq shell-mode-map (full-copy-sparse-keymap comint-mode-map))
2052;;; (define-key shell-mode-map "\M-\t" 'comint-dynamic-complete)
2053;;; (define-key shell-mode-map "\M-?"
2054;;; 'comint-dynamic-list-filename-completions)))
2055;;; (use-local-map shell-mode-map) 2059;;; (use-local-map shell-mode-map)
2056;;; (make-local-variable 'shell-directory-stack) 2060;;; (make-local-variable 'shell-directory-stack)
2057;;; (setq shell-directory-stack nil) 2061;;; (setq shell-directory-stack nil)