From 5c5fb26b814fa5ca38a678ea547a5a017333cbfb Mon Sep 17 00:00:00 2001 From: Lute Kamstra Date: Thu, 26 May 2005 13:27:35 +0000 Subject: [PATCH] (calc-edit-mode): Use run-mode-hooks. --- lisp/calc/calc-yank.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/calc/calc-yank.el b/lisp/calc/calc-yank.el index 84c117a1723..1544e8956c1 100644 --- a/lisp/calc/calc-yank.el +++ b/lisp/calc/calc-yank.el @@ -447,7 +447,7 @@ To cancel the edit, simply kill the *Calc Edit* buffer." (setq truncate-lines nil) (setq major-mode 'calc-edit-mode) (setq mode-name "Calc Edit") - (run-hooks 'calc-edit-mode-hook) + (run-mode-hooks 'calc-edit-mode-hook) (make-local-variable 'calc-original-buffer) (setq calc-original-buffer oldbuf) (make-local-variable 'calc-return-buffer) -- 2.39.5