summaryrefslogtreecommitdiff
path: root/lisp/calc/calc-yank.el
diff options
context:
space:
mode:
authorLute Kamstra <lute@gnu.org>2005-05-26 13:27:35 +0000
committerLute Kamstra <lute@gnu.org>2005-05-26 13:27:35 +0000
commit5c5fb26b814fa5ca38a678ea547a5a017333cbfb (patch)
treeb0b68ad5dc50151e61af1b26e1ae0aaaa4ba5a3c /lisp/calc/calc-yank.el
parente998b4010839be3ce081561036002ab50e70c22e (diff)
downloademacs-5c5fb26b814fa5ca38a678ea547a5a017333cbfb.tar.gz
(calc-edit-mode): Use run-mode-hooks.
Diffstat (limited to 'lisp/calc/calc-yank.el')
-rw-r--r--lisp/calc/calc-yank.el2
1 files changed, 1 insertions, 1 deletions
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)