diff options
| -rw-r--r-- | lisp/shell.el | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lisp/shell.el b/lisp/shell.el index 56788e60208..b4a65ed4f2e 100644 --- a/lisp/shell.el +++ b/lisp/shell.el | |||
| @@ -52,16 +52,7 @@ | |||
| 52 | ;;============================================================================= | 52 | ;;============================================================================= |
| 53 | ;; Some suggestions for your .emacs file. | 53 | ;; Some suggestions for your .emacs file. |
| 54 | ;; | 54 | ;; |
| 55 | ;; ; If shell lives in some non-standard directory, you must tell emacs | 55 | ;; ;; Define C-c t to run my favorite command in shell mode: |
| 56 | ;; ; where to get it. This may or may not be necessary. | ||
| 57 | ;; (setq load-path (cons (expand-file-name "~jones/lib/emacs") load-path)) | ||
| 58 | ;; | ||
| 59 | ;; ; Autoload shell from file shell.el | ||
| 60 | ;; (autoload 'shell "shell" | ||
| 61 | ;; "Run an inferior shell process." | ||
| 62 | ;; t) | ||
| 63 | ;; | ||
| 64 | ;; ; Define C-c t to run my favorite command in shell mode: | ||
| 65 | ;; (setq shell-mode-hook | 56 | ;; (setq shell-mode-hook |
| 66 | ;; '((lambda () | 57 | ;; '((lambda () |
| 67 | ;; (define-key shell-mode-map "\C-ct" 'favorite-cmd)))) | 58 | ;; (define-key shell-mode-map "\C-ct" 'favorite-cmd)))) |