]> git.eshelyaron.com Git - emacs.git/commitdiff
(Electric-buffer-menu-mode): Use run-mode-hooks.
authorLute Kamstra <lute@gnu.org>
Thu, 26 May 2005 12:43:17 +0000 (12:43 +0000)
committerLute Kamstra <lute@gnu.org>
Thu, 26 May 2005 12:43:17 +0000 (12:43 +0000)
lisp/ebuff-menu.el

index bfac2afe6e9b3ab27aba721dd4e65af0f5b0dd49..ec230bc8a62fe2b5bcaf249b4094dce5e0ca5467 100644 (file)
@@ -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)