From: Daniel Pfeiffer Date: Wed, 10 Nov 2004 09:53:24 +0000 (+0000) Subject: Also do /etc/magic, hosts.allow, hosts.deny etc. X-Git-Tag: ttn-vms-21-2-B4~4024 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=55e19d0876abf0ef91c2bbebf0481978593a2cf1;p=emacs.git Also do /etc/magic, hosts.allow, hosts.deny etc. --- diff --git a/lisp/files.el b/lisp/files.el index 3c761f09d99..bfbf0cf39d0 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1763,8 +1763,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\\)\\|mtab\\|permissions\\|protocols\\|rpc\\|services\\)\\'" . conf-space-mode) - ("\\`/etc/\\(?:aliases\\|ksysguarddrc\\|opera6rc\\)\\'" . conf-mode) + ("\\`/etc/\\(?:DIR_COLORS\\|ethers\\|.?fstab\\|.*hosts\\|lesskey\\|login\\.?de\\(?:fs\\|vperm\\)\\|magic\\|mtab\\|permissions\\|protocols\\|rpc\\|services\\)\\'" . conf-space-mode) + ("\\`/etc/\\(?:aliases\\|hosts\\..+\\|ksysguarddrc\\|opera6rc\\)\\'" . 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