comparison lisp/prim/files.el @ 169:15872534500d r20-3b11

Import from CVS: tag r20-3b11
author cvs
date Mon, 13 Aug 2007 09:46:53 +0200
parents 85ec50267440
children 8eaf7971accc
comparison
equal deleted inserted replaced
168:9851d5c6556e 169:15872534500d
1173 ("\\.scm\\(\\.[0-9]*\\)?\\'" . scheme-mode) 1173 ("\\.scm\\(\\.[0-9]*\\)?\\'" . scheme-mode)
1174 ("\\.e\\'" . eiffel-mode) 1174 ("\\.e\\'" . eiffel-mode)
1175 ("\\.mss\\'" . scribe-mode) 1175 ("\\.mss\\'" . scribe-mode)
1176 ("\\.m\\([mes]\\|an\\)\\'" . nroff-mode) 1176 ("\\.m\\([mes]\\|an\\)\\'" . nroff-mode)
1177 ("\\.icn\\'" . icon-mode) 1177 ("\\.icn\\'" . icon-mode)
1178 ("\\.[ck]?sh\\'\\|\\.shar\\'\\|/\\.z?profile\\'" . sh-mode) 1178 ("\\.\\([ckz]?sh\\|shar\\)\\'" . sh-mode)
1179 ("/\\.\\(bash_profile\\|z?login\\|bash_login\\|z?logout\\)\\'" . sh-mode) 1179 ("/\\.\\(bash_\\|z\\)?\\(profile\\|login\||logout\\)\\'" . sh-mode)
1180 ("/\\.\\(bash_logout\\|[kz]shrc\\|bashrc\\|t?cshrc\\|esrc\\)\\'" . sh-mode) 1180 ("/\\.\\([ckz]sh\\|bash\\|tcsh\\|es\\|xinit\\|startx\\)rc\\'" . sh-mode)
1181 ("/\\.\\([kz]shenv\\|xinitrc\\|startxrc\\|xsession\\)\\'" . sh-mode) 1181 ("/\\.\\([kz]shenv\\|xsession\\)\\'" . sh-mode)
1182 ;;; The following should come after the ChangeLog pattern 1182 ;;; The following should come after the ChangeLog pattern
1183 ;;; for the sake of ChangeLog.1, etc. 1183 ;;; for the sake of ChangeLog.1, etc.
1184 ;;; and after the .scm.[0-9] pattern too. 1184 ;;; and after the .scm.[0-9] pattern too.
1185 ("\\.[12345678]\\'" . nroff-mode) 1185 ("\\.[12345678]\\'" . nroff-mode)
1186 ("\\.[tT]e[xX]\\'" . tex-mode) 1186 ("\\.[tT]e[xX]\\'" . tex-mode)
1224 ("\\.[^/]*wm\\'" . winmgr-mode) 1224 ("\\.[^/]*wm\\'" . winmgr-mode)
1225 ("\\.[^/]*wm2?rc" . winmgr-mode) 1225 ("\\.[^/]*wm2?rc" . winmgr-mode)
1226 ("\\.[Jj][Pp][Ee]?[Gg]\\'" . image-mode) 1226 ("\\.[Jj][Pp][Ee]?[Gg]\\'" . image-mode)
1227 ("\\.[Pp][Nn][Gg]\\'" . image-mode) 1227 ("\\.[Pp][Nn][Gg]\\'" . image-mode)
1228 ("\\.[Gg][Ii][Ff]\\'" . image-mode) 1228 ("\\.[Gg][Ii][Ff]\\'" . image-mode)
1229 ("\\.xpm\\'" . image-mode)
1230 ) 1229 )
1231 "Alist of filename patterns vs. corresponding major mode functions. 1230 "Alist of filename patterns vs. corresponding major mode functions.
1232 Each element looks like (REGEXP . FUNCTION) or (REGEXP FUNCTION NON-NIL). 1231 Each element looks like (REGEXP . FUNCTION) or (REGEXP FUNCTION NON-NIL).
1233 \(NON-NIL stands for anything that is not nil; the value does not matter.) 1232 \(NON-NIL stands for anything that is not nil; the value does not matter.)
1234 Visiting a file whose name matches REGEXP specifies FUNCTION as the 1233 Visiting a file whose name matches REGEXP specifies FUNCTION as the