changeset 62726:3b4e0fdb401f

(Electric-buffer-menu-mode): Use run-mode-hooks.
author Lute Kamstra <lute@gnu.org>
date Thu, 26 May 2005 12:43:17 +0000
parents f6814e4de16d
children 79e4354d107b
files lisp/ebuff-menu.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ebuff-menu.el	Thu May 26 12:42:58 2005 +0000
+++ b/lisp/ebuff-menu.el	Thu May 26 12:43:17 2005 +0000
@@ -162,7 +162,7 @@
   (setq major-mode 'Electric-buffer-menu-mode)
   (goto-char (point-min))
   (if (search-forward "\n." nil t) (forward-char -1))
-  (run-hooks 'electric-buffer-menu-mode-hook))
+  (run-mode-hooks 'electric-buffer-menu-mode-hook))
 
 ;; generally the same as Buffer-menu-mode-map
 ;;  (except we don't indirect to global-map)