2007-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
+ * emacs-lisp/derived.el (define-derived-mode): Remove bogus
+ compatibiity code.
+
* emacs-lisp/copyright.el (copyright-names-regexp): New var.
(copyright-update-year): Use it.
,@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.