summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-01-05 02:36:06 +0000
committerRichard M. Stallman <rms@gnu.org>1996-01-05 02:36:06 +0000
commit6cfd21c904246a2ddbbcdfbef223ce0ef414a6a1 (patch)
treeedf91be2033859c700ecf08289cee56efd9b2ea2 /lisp
parentd1194c856c5e8187af4176a924e1df4b24d34e9f (diff)
downloademacs-6cfd21c904246a2ddbbcdfbef223ce0ef414a6a1.tar.gz
emacs-6cfd21c904246a2ddbbcdfbef223ce0ef414a6a1.tar.bz2
emacs-6cfd21c904246a2ddbbcdfbef223ce0ef414a6a1.zip
(interpreter-mode-alist, auto-mode-alist): Don't alter this here.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/sh-script.el33
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 @@
(require 'executable)
-
-
-;; Autoload cookie deleted here because it made loaddefs.el fail to load.
-;; -rms
-(or (assoc "sh" interpreter-mode-alist)
- (setq auto-mode-alist
- ;; matches files
- ;; - that have a suffix .sh, .csh or .shar (shell archive)
- ;; - that contain resources for the various shells
- ;; - startup files for X11
- (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)
- auto-mode-alist)
- interpreter-mode-alist
- (nconc '(("ash" . sh-mode)
- ("bash" . sh-mode)
- ("csh" . sh-mode)
- ("dtksh" . sh-mode)
- ("es" . sh-mode)
- ("itcsh" . sh-mode)
- ("jsh" . sh-mode)
- ("ksh" . sh-mode)
- ("oash" . sh-mode)
- ("pdksh" . sh-mode)
- ("rc" . sh-mode)
- ("sh" . sh-mode)
- ("sh5" . sh-mode)
- ("tcsh" . sh-mode)
- ("wksh" . sh-mode)
- ("wsh" . sh-mode)
- ("zsh" . sh-mode))
- interpreter-mode-alist)))
-
-
(defvar sh-ancestor-alist
'((ash . sh)
(bash . jsh)