# HG changeset patch # User Lute Kamstra # Date 1117111397 0 # Node ID 3b4e0fdb401fe8df769026d3b70771891a23eb59 # Parent f6814e4de16d667ac719cc53d391fad5b7538254 (Electric-buffer-menu-mode): Use run-mode-hooks. diff -r f6814e4de16d -r 3b4e0fdb401f lisp/ebuff-menu.el --- 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)