Mercurial > emacs
comparison lisp/shell.el @ 5163:220ec2f456e0
Comment change.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 25 Nov 1993 02:37:21 +0000 |
parents | dfb65242faf4 |
children | 6c3cfa1f8188 |
comparison
equal
deleted
inserted
replaced
5162:9672138155c1 | 5163:220ec2f456e0 |
---|---|
50 | 50 |
51 ;; YOUR .EMACS FILE | 51 ;; YOUR .EMACS FILE |
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)))) |
68 | 59 |
69 | 60 |