* net/quickurl.el (quickurl-list-mode):
* net/snmp-mode.el (snmp-mode, snmpv2-mode): Use run-mode-hooks.
(if eudc-emacs-p
(easy-menu-define eudc-emacs-menu eudc-mode-map "" (eudc-menu))
(setq mode-popup-menu (eudc-menu)))
- (run-hooks 'eudc-mode-hook)
- )
+ (run-mode-hooks 'eudc-mode-hook))
;;}}}
(use-local-map quickurl-list-mode-map)
(setq major-mode 'quickurl-list-mode
mode-name "quickurl list")
- (run-hooks 'quickurl-list-mode-hook)
+ (run-mode-hooks 'quickurl-list-mode-hook)
(setq buffer-read-only t
truncate-lines t))
(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))
;;;----------------------------------------------------------------------------