(define-derived-mode): Remove bogus compatibiity code.

This commit is contained in:
Stefan Monnier 2007-05-25 17:00:54 +00:00
parent b649d2e482
commit cdcfbcb26a
2 changed files with 4 additions and 5 deletions

View file

@ -254,11 +254,7 @@ No problems result if this variable is not bound.
,@body
)
;; Run the hooks, if any.
;; Make the generated code work in older Emacs versions
;; that do not yet have run-mode-hooks.
(if (fboundp 'run-mode-hooks)
(run-mode-hooks ',hook)
(run-hooks ',hook))))))
(run-mode-hooks ',hook)))))
;; PUBLIC: find the ultimate class of a derived mode.