diff options
| author | Richard M. Stallman | 1998-07-23 07:23:08 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-07-23 07:23:08 +0000 |
| commit | 7af59a4c1816a61434e99d5b272db2cdf4bcd3cb (patch) | |
| tree | 0993a9b0b5c7a0a60676012e2892cacd12a5e56e | |
| parent | ab6ecce2003d03e9aa9505c92c43f2cd906ad479 (diff) | |
| download | emacs-7af59a4c1816a61434e99d5b272db2cdf4bcd3cb.tar.gz emacs-7af59a4c1816a61434e99d5b272db2cdf4bcd3cb.zip | |
(auto-mode-alist): Recognize shell profiles without dirname.
| -rw-r--r-- | lisp/files.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/files.el b/lisp/files.el index beffa7e05fc..426ac6f3c31 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -1225,9 +1225,9 @@ run `normal-mode' explicitly." | |||
| 1225 | ("\\$CHANGE_LOG\\$\\.TXT" . change-log-mode) | 1225 | ("\\$CHANGE_LOG\\$\\.TXT" . change-log-mode) |
| 1226 | ("\\.scm\\.[0-9]*\\'" . scheme-mode) | 1226 | ("\\.scm\\.[0-9]*\\'" . scheme-mode) |
| 1227 | ("\\.[ck]?sh\\'\\|\\.shar\\'\\|/\\.z?profile\\'" . sh-mode) | 1227 | ("\\.[ck]?sh\\'\\|\\.shar\\'\\|/\\.z?profile\\'" . sh-mode) |
| 1228 | ("/\\.\\(bash_profile\\|z?login\\|bash_login\\|z?logout\\)\\'" . sh-mode) | 1228 | ("\\(/\\|\\`)\\.\\(bash_profile\\|z?login\\|bash_login\\|z?logout\\)\\'" . sh-mode) |
| 1229 | ("/\\.\\(bash_logout\\|[kz]shrc\\|bashrc\\|t?cshrc\\|esrc\\)\\'" . sh-mode) | 1229 | ("\\(/\\|\\`)\\.\\(bash_logout\\|[kz]shrc\\|bashrc\\|t?cshrc\\|esrc\\)\\'" . sh-mode) |
| 1230 | ("/\\.\\([kz]shenv\\|xinitrc\\|startxrc\\|xsession\\)\\'" . sh-mode) | 1230 | ("\\(/\\|\\`)\\.\\([kz]shenv\\|xinitrc\\|startxrc\\|xsession\\)\\'" . sh-mode) |
| 1231 | ;;; The following should come after the ChangeLog pattern | 1231 | ;;; The following should come after the ChangeLog pattern |
| 1232 | ;;; for the sake of ChangeLog.1, etc. | 1232 | ;;; for the sake of ChangeLog.1, etc. |
| 1233 | ;;; and after the .scm.[0-9] pattern too. | 1233 | ;;; and after the .scm.[0-9] pattern too. |