aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLute Kamstra2005-05-26 13:27:35 +0000
committerLute Kamstra2005-05-26 13:27:35 +0000
commit5c5fb26b814fa5ca38a678ea547a5a017333cbfb (patch)
treeb0b68ad5dc50151e61af1b26e1ae0aaaa4ba5a3c
parente998b4010839be3ce081561036002ab50e70c22e (diff)
downloademacs-5c5fb26b814fa5ca38a678ea547a5a017333cbfb.tar.gz
emacs-5c5fb26b814fa5ca38a678ea547a5a017333cbfb.zip
(calc-edit-mode): Use run-mode-hooks.
-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."
447 (setq truncate-lines nil) 447 (setq truncate-lines nil)
448 (setq major-mode 'calc-edit-mode) 448 (setq major-mode 'calc-edit-mode)
449 (setq mode-name "Calc Edit") 449 (setq mode-name "Calc Edit")
450 (run-hooks 'calc-edit-mode-hook) 450 (run-mode-hooks 'calc-edit-mode-hook)
451 (make-local-variable 'calc-original-buffer) 451 (make-local-variable 'calc-original-buffer)
452 (setq calc-original-buffer oldbuf) 452 (setq calc-original-buffer oldbuf)
453 (make-local-variable 'calc-return-buffer) 453 (make-local-variable 'calc-return-buffer)