-;;; snmp-mode.el --- SNMP & SNMPv2 MIB major mode.
+;;; snmp-mode.el --- SNMP & SNMPv2 MIB major mode
-;; Copyright (C) 1995,1998 Free Software Foundation, Inc.
+;; Copyright (C) 1995, 1998, 2001, 2002, 2003, 2004,
+;; 2005, 2006, 2007 Free Software Foundation, Inc.
;; Author: Paul D. Smith <psmith@BayNetworks.com>
;; Keywords: data
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING. If not, write to the
-;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
+
+;;; Commentary:
;; INTRODUCTION
;; ------------
;; Enabling global-font-lock-mode is also sufficient.
;;
+;;; Code:
+
+(eval-when-compile
+ (require 'tempo))
+
;;;----------------------------------------------------------------------------
;;
;; Customize these:
;; Miscellaneous customization
(make-local-variable 'require-final-newline)
- (setq require-final-newline t))
+ (setq require-final-newline mode-require-final-newline))
;; SNMPv1 MIB Editing Mode.
(setq snmp-mode-status-list snmp-rfc1212-status)
;; Run hooks
- (run-hooks 'snmp-common-mode-hook)
- (run-hooks 'snmp-mode-hook))
+ (run-mode-hooks 'snmp-common-mode-hook 'snmp-mode-hook))
;;;###autoload
(setq snmp-mode-status-list snmp-rfc1902-status)
;; Run hooks
- (run-hooks 'snmp-common-mode-hook)
- (run-hooks 'snmpv2-mode-hook))
+ (run-mode-hooks 'snmp-common-mode-hook 'snmpv2-mode-hook))
;;;----------------------------------------------------------------------------
(provide 'snmp-mode)
-;; snmp-mode.el ends here
+;;; arch-tag: eb6cc0f9-1e47-4023-8625-bc9aae6c3527
+;;; snmp-mode.el ends here