From a3d9e1face21a61a84c031db417dbcbc9fe5f9dd Mon Sep 17 00:00:00 2001 From: Lute Kamstra Date: Thu, 26 May 2005 12:43:17 +0000 Subject: [PATCH] (Electric-buffer-menu-mode): Use run-mode-hooks. --- lisp/ebuff-menu.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ebuff-menu.el b/lisp/ebuff-menu.el index bfac2afe6e9..ec230bc8a62 100644 --- a/lisp/ebuff-menu.el +++ b/lisp/ebuff-menu.el @@ -162,7 +162,7 @@ Entry to this mode via command `electric-buffer-list' calls the value of (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) -- 2.39.5