changeset 23126:cac484ad071c

(auto-mode-alist): Add snmp-mode patterns.
author Karl Heuer <kwzh@gnu.org>
date Thu, 27 Aug 1998 15:26:46 +0000
parents f7b7887cb90f
children 22c7650e9057
files lisp/files.el
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Thu Aug 27 15:21:25 1998 +0000
+++ b/lisp/files.el	Thu Aug 27 15:26:46 1998 +0000
@@ -1282,7 +1282,13 @@
     ;; _emacs following a directory delimiter
     ;; in MsDos syntax
     ("[:/]_emacs\\'" . emacs-lisp-mode)
-    ("\\.ml\\'" . lisp-mode))
+    ("\\.ml\\'" . lisp-mode)
+    ("\\.asn$" . snmp-mode)
+    ("\\.mib$" . snmp-mode)
+    ("\\.smi$" . snmp-mode)
+    ("\\.as2$" . snmpv2-mode)
+    ("\\.mi2$" . snmpv2-mode)
+    ("\\.sm2$" . snmpv2-mode))
   "\
 Alist of filename patterns vs corresponding major mode functions.
 Each element looks like (REGEXP . FUNCTION) or (REGEXP FUNCTION NON-NIL).