summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/derived.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2007-05-25 17:00:54 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2007-05-25 17:00:54 +0000
commitcdcfbcb26a44346621b0bc3c76a4fea9d52f0ece (patch)
tree63171c29f0a39b67ad8db0bdd0645658560d9e43 /lisp/emacs-lisp/derived.el
parentb649d2e482f5120b532c27ba5aca85b560d4a514 (diff)
downloademacs-cdcfbcb26a44346621b0bc3c76a4fea9d52f0ece.tar.gz
(define-derived-mode): Remove bogus compatibiity code.
Diffstat (limited to 'lisp/emacs-lisp/derived.el')
-rw-r--r--lisp/emacs-lisp/derived.el6
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/derived.el b/lisp/emacs-lisp/derived.el
index 2b2cffc5a35..5fc60cf516f 100644
--- a/lisp/emacs-lisp/derived.el
+++ b/lisp/emacs-lisp/derived.el
@@ -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.