# HG changeset patch # User Richard M. Stallman # Date 901178588 0 # Node ID e730ce9f8e834fff7b2c2c7d970b6ed0adafe7ba # Parent e422c56928d9cd87ae3d38d783aba746566040d7 (auto-mode-alist): Recognize shell profiles without dirname. diff -r e422c56928d9 -r e730ce9f8e83 lisp/files.el --- a/lisp/files.el Thu Jul 23 05:48:49 1998 +0000 +++ b/lisp/files.el Thu Jul 23 07:23:08 1998 +0000 @@ -1225,9 +1225,9 @@ ("\\$CHANGE_LOG\\$\\.TXT" . change-log-mode) ("\\.scm\\.[0-9]*\\'" . scheme-mode) ("\\.[ck]?sh\\'\\|\\.shar\\'\\|/\\.z?profile\\'" . sh-mode) - ("/\\.\\(bash_profile\\|z?login\\|bash_login\\|z?logout\\)\\'" . sh-mode) - ("/\\.\\(bash_logout\\|[kz]shrc\\|bashrc\\|t?cshrc\\|esrc\\)\\'" . sh-mode) - ("/\\.\\([kz]shenv\\|xinitrc\\|startxrc\\|xsession\\)\\'" . sh-mode) + ("\\(/\\|\\`)\\.\\(bash_profile\\|z?login\\|bash_login\\|z?logout\\)\\'" . sh-mode) + ("\\(/\\|\\`)\\.\\(bash_logout\\|[kz]shrc\\|bashrc\\|t?cshrc\\|esrc\\)\\'" . sh-mode) + ("\\(/\\|\\`)\\.\\([kz]shenv\\|xinitrc\\|startxrc\\|xsession\\)\\'" . sh-mode) ;;; The following should come after the ChangeLog pattern ;;; for the sake of ChangeLog.1, etc. ;;; and after the .scm.[0-9] pattern too.