]> git.eshelyaron.com Git - emacs.git/commitdiff
(calc-edit-mode): Use run-mode-hooks.
authorLute Kamstra <lute@gnu.org>
Thu, 26 May 2005 13:27:35 +0000 (13:27 +0000)
committerLute Kamstra <lute@gnu.org>
Thu, 26 May 2005 13:27:35 +0000 (13:27 +0000)
lisp/calc/calc-yank.el

index 84c117a1723dd07c52c746fbebc4aeef7b09c1aa..1544e8956c1a9877908cf56fa639d4e0019b9241 100644 (file)
@@ -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)