]> git.eshelyaron.com Git - emacs.git/commitdiff
* net/eudc.el (eudc-mode):
authorLute Kamstra <lute@gnu.org>
Thu, 26 May 2005 15:23:59 +0000 (15:23 +0000)
committerLute Kamstra <lute@gnu.org>
Thu, 26 May 2005 15:23:59 +0000 (15:23 +0000)
* net/quickurl.el (quickurl-list-mode):
* net/snmp-mode.el (snmp-mode, snmpv2-mode): Use run-mode-hooks.

lisp/net/eudc.el
lisp/net/quickurl.el
lisp/net/snmp-mode.el

index b279715329fd57f3a3deb7f195fb226af791f42f..f234ab059d5925cbd09e6a5fb6f8ea9a17e0b651 100644 (file)
@@ -670,8 +670,7 @@ These are the special commands of EUDC mode:
   (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))
 
 ;;}}}
 
index ebf4dcd3618d4667e4f12f58e2ce3cbbef613443..d2ff0140dcee1037042cc488c00f0b02684abefc 100644 (file)
@@ -458,7 +458,7 @@ The key bindings for `quickurl-list-mode' are:
   (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))
 
index 73fef1452a044b97729f2d1e314a3d15e730d463..f41dd8452612bcc72b5c309dcf9795cf324301e0 100644 (file)
@@ -393,8 +393,7 @@ Turning on snmp-mode runs the hooks in `snmp-common-mode-hook', then
   (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
@@ -429,8 +428,7 @@ then `snmpv2-mode-hook'."
   (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))
 
 
 ;;;----------------------------------------------------------------------------