diff options
| author | Richard M. Stallman | 1996-01-05 02:36:06 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-01-05 02:36:06 +0000 |
| commit | 6cfd21c904246a2ddbbcdfbef223ce0ef414a6a1 (patch) | |
| tree | edf91be2033859c700ecf08289cee56efd9b2ea2 | |
| parent | d1194c856c5e8187af4176a924e1df4b24d34e9f (diff) | |
| download | emacs-6cfd21c904246a2ddbbcdfbef223ce0ef414a6a1.tar.gz emacs-6cfd21c904246a2ddbbcdfbef223ce0ef414a6a1.zip | |
(interpreter-mode-alist, auto-mode-alist): Don't alter this here.
| -rw-r--r-- | lisp/progmodes/sh-script.el | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 8b03187f2e1..4448ca5ee5c 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el | |||
| @@ -45,39 +45,6 @@ | |||
| 45 | 45 | ||
| 46 | (require 'executable) | 46 | (require 'executable) |
| 47 | 47 | ||
| 48 | |||
| 49 | |||
| 50 | ;; Autoload cookie deleted here because it made loaddefs.el fail to load. | ||
| 51 | ;; -rms | ||
| 52 | (or (assoc "sh" interpreter-mode-alist) | ||
| 53 | (setq auto-mode-alist | ||
| 54 | ;; matches files | ||
| 55 | ;; - that have a suffix .sh, .csh or .shar (shell archive) | ||
| 56 | ;; - that contain resources for the various shells | ||
| 57 | ;; - startup files for X11 | ||
| 58 | (cons '("\\.c?sh\\'\\|\\.shar\\'\\|/\\.\\(z?profile\\|bash_profile\\|z?login\\|bash_login\\|z?logout\\|bash_logout\\|[kz]shrc\\|bashrc\\|t?cshrc\\|esrc\\|rcrc\\|[kz]shenv\\|xinitrc\\|startxrc\\|xsession\\)\\'" . sh-mode) | ||
| 59 | auto-mode-alist) | ||
| 60 | interpreter-mode-alist | ||
| 61 | (nconc '(("ash" . sh-mode) | ||
| 62 | ("bash" . sh-mode) | ||
| 63 | ("csh" . sh-mode) | ||
| 64 | ("dtksh" . sh-mode) | ||
| 65 | ("es" . sh-mode) | ||
| 66 | ("itcsh" . sh-mode) | ||
| 67 | ("jsh" . sh-mode) | ||
| 68 | ("ksh" . sh-mode) | ||
| 69 | ("oash" . sh-mode) | ||
| 70 | ("pdksh" . sh-mode) | ||
| 71 | ("rc" . sh-mode) | ||
| 72 | ("sh" . sh-mode) | ||
| 73 | ("sh5" . sh-mode) | ||
| 74 | ("tcsh" . sh-mode) | ||
| 75 | ("wksh" . sh-mode) | ||
| 76 | ("wsh" . sh-mode) | ||
| 77 | ("zsh" . sh-mode)) | ||
| 78 | interpreter-mode-alist))) | ||
| 79 | |||
| 80 | |||
| 81 | (defvar sh-ancestor-alist | 48 | (defvar sh-ancestor-alist |
| 82 | '((ash . sh) | 49 | '((ash . sh) |
| 83 | (bash . jsh) | 50 | (bash . jsh) |