mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 02:31:03 -08:00
(calc-mode, calc-trail-mode): Use run-mode-hooks.
This commit is contained in:
parent
5c5fb26b81
commit
d74fa98c01
1 changed files with 2 additions and 2 deletions
|
|
@ -1131,7 +1131,7 @@ Notations: 3.14e6 3.14 * 10^6
|
|||
(string-match "full" (nth 1 p))
|
||||
(setq calc-standalone-flag t))
|
||||
(setq p (cdr p))))
|
||||
(run-hooks 'calc-mode-hook)
|
||||
(run-mode-hooks 'calc-mode-hook)
|
||||
(calc-refresh t)
|
||||
(calc-set-mode-line)
|
||||
(calc-check-defines))
|
||||
|
|
@ -1181,7 +1181,7 @@ commands given here will actually operate on the *Calculator* stack."
|
|||
(insert (propertize (concat "Emacs Calculator v" calc-version
|
||||
" by Dave Gillespie\n")
|
||||
'font-lock-face 'italic))))
|
||||
(run-hooks 'calc-trail-mode-hook))
|
||||
(run-mode-hooks 'calc-trail-mode-hook))
|
||||
|
||||
(defun calc-create-buffer ()
|
||||
(set-buffer (get-buffer-create "*Calculator*"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue