diff lisp/calc/calc.el @ 62749:3848ecb8352f

(calc-mode, calc-trail-mode): Use run-mode-hooks.
author Lute Kamstra <lute@gnu.org>
date Thu, 26 May 2005 13:30:23 +0000
parents 842c8b2c2940
children 84d21c375346
line wrap: on
line diff
--- a/lisp/calc/calc.el	Thu May 26 13:27:35 2005 +0000
+++ b/lisp/calc/calc.el	Thu May 26 13:30:23 2005 +0000
@@ -1131,7 +1131,7 @@
 	   (string-match "full" (nth 1 p))
 	   (setq calc-standalone-flag t))
       (setq p (cdr p))))
-  (run-hooks 'calc-mode-hook)
+  (run-mode-hooks 'calc-mode-hook)
   (calc-refresh t)
   (calc-set-mode-line)
   (calc-check-defines))
@@ -1181,7 +1181,7 @@
       (insert (propertize (concat "Emacs Calculator v" calc-version
 				  " by Dave Gillespie\n")
 			  'font-lock-face 'italic))))
-  (run-hooks 'calc-trail-mode-hook))
+  (run-mode-hooks 'calc-trail-mode-hook))
 
 (defun calc-create-buffer ()
   (set-buffer (get-buffer-create "*Calculator*"))