From: Lute Kamstra Date: Thu, 26 May 2005 12:43:17 +0000 (+0000) Subject: (Electric-buffer-menu-mode): Use run-mode-hooks. X-Git-Tag: emacs-pretest-22.0.90~9562 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a3d9e1face21a61a84c031db417dbcbc9fe5f9dd;p=emacs.git (Electric-buffer-menu-mode): Use run-mode-hooks. --- 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)