From: Lute Kamstra Date: Thu, 26 May 2005 13:27:35 +0000 (+0000) Subject: (calc-edit-mode): Use run-mode-hooks. X-Git-Tag: emacs-pretest-22.0.90~9540 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5c5fb26b814fa5ca38a678ea547a5a017333cbfb;p=emacs.git (calc-edit-mode): Use run-mode-hooks. --- 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)