Commit cdcfbcb2 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

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

parent b649d2e4
2007-05-25 Stefan Monnier <monnier@iro.umontreal.ca> 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. * emacs-lisp/copyright.el (copyright-names-regexp): New var.
(copyright-update-year): Use it. (copyright-update-year): Use it.
......
...@@ -254,11 +254,7 @@ No problems result if this variable is not bound. ...@@ -254,11 +254,7 @@ No problems result if this variable is not bound.
,@body ,@body
) )
;; Run the hooks, if any. ;; Run the hooks, if any.
;; Make the generated code work in older Emacs versions (run-mode-hooks ',hook)))))
;; that do not yet have run-mode-hooks.
(if (fboundp 'run-mode-hooks)
(run-mode-hooks ',hook)
(run-hooks ',hook))))))
;; PUBLIC: find the ultimate class of a derived mode. ;; PUBLIC: find the ultimate class of a derived mode.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment