]> git.eshelyaron.com Git - emacs.git/commitdiff
(custom-mode): Use run-mode-hooks.
authorLute Kamstra <lute@gnu.org>
Thu, 26 May 2005 12:40:44 +0000 (12:40 +0000)
committerLute Kamstra <lute@gnu.org>
Thu, 26 May 2005 12:40:44 +0000 (12:40 +0000)
lisp/cus-edit.el

index 50c9accb9ce73f771caed2d059c02884af40e281..82a5e887bedcdf5c720b7dc9c170c7e1d7aa3dad 100644 (file)
@@ -4276,7 +4276,7 @@ if that value is non-nil."
     (set (make-local-variable 'widget-link-prefix) "")
     (set (make-local-variable 'widget-link-suffix) ""))
   (add-hook 'widget-edit-functions 'custom-state-buffer-message nil t)
-  (run-hooks 'custom-mode-hook))
+  (run-mode-hooks 'custom-mode-hook))
 
 (put 'custom-mode 'mode-class 'special)