From: Andreas Schwab Date: Sat, 16 Apr 2005 09:00:14 +0000 (+0000) Subject: (auto-mode-alist): Handle /etc/sysconfig/*, X-Git-Tag: ttn-vms-21-2-B4~966 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a35d9075f9775f4721be354d82145e1e450acefc;p=emacs.git (auto-mode-alist): Handle /etc/sysconfig/*, /etc/permissions.d/* and /etc/aliases.d/*. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8b8364d3c2c..a55421da600 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2005-04-16 Andreas Schwab + + * files.el (auto-mode-alist): Handle /etc/sysconfig/*, + /etc/permissions.d/* and /etc/aliases.d/*. + 2005-04-16 Kenichi Handa * international/code-pages.el (cp-make-coding-system): Set diff --git a/lisp/files.el b/lisp/files.el index d5e98672d27..407922082f1 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1844,8 +1844,8 @@ in that case, this function acts as if `enable-local-variables' were t." ("\\.properties\\(?:\\.[a-zA-Z0-9._-]+\\)?\\'" . conf-javaprop-mode) ;; *.cf, *.cfg, *.conf, *.config[.local|.de_DE.UTF8|...], */config ("[/.]c\\(?:on\\)?f\\(?:i?g\\)?\\(?:\\.[a-zA-Z0-9._-]+\\)?\\'" . conf-mode) - ("\\`/etc/\\(?:DIR_COLORS\\|ethers\\|.?fstab\\|.*hosts\\|lesskey\\|login\\.?de\\(?:fs\\|vperm\\)\\|magic\\|mtab\\|pam\\.d/.*\\|permissions\\|protocols\\|rpc\\|services\\)\\'" . conf-space-mode) - ("\\`/etc/\\(?:acpid?/.+\\|aliases\\|default/.+\\|group-?\\|hosts\\..+\\|inittab\\|ksysguarddrc\\|opera6rc\\|passwd-?\\|shadow-?\\)\\'" . conf-mode) + ("\\`/etc/\\(?:DIR_COLORS\\|ethers\\|.?fstab\\|.*hosts\\|lesskey\\|login\\.?de\\(?:fs\\|vperm\\)\\|magic\\|mtab\\|pam\\.d/.*\\|permissions\\(?:\\.d/.+\\)?\\|protocols\\|rpc\\|services\\)\\'" . conf-space-mode) + ("\\`/etc/\\(?:acpid?/.+\\|aliases\\(?:\\.d/.+\\)?\\|default/.+\\|group-?\\|hosts\\..+\\|inittab\\|ksysguarddrc\\|opera6rc\\|passwd-?\\|shadow-?\\|sysconfig/.+\\)\\'" . conf-mode) ;; either user's dot-files or under /etc or some such ("/\\.?\\(?:gnokiirc\\|kde.*rc\\|mime\\.types\\|wgetrc\\)\\'" . conf-mode) ;; alas not all ~/.*rc files are like this