# HG changeset patch # User Karl Heuer # Date 904231606 0 # Node ID cac484ad071ca7705b6bdfb2d2b9b6e08d6aafc4 # Parent f7b7887cb90f31c3f8ee7929a6d07d087138560b (auto-mode-alist): Add snmp-mode patterns. diff -r f7b7887cb90f -r cac484ad071c lisp/files.el --- 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).