Mercurial > emacs
changeset 81080:9c88240944ad
(define-derived-mode): Remove bogus compatibiity code.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 25 May 2007 17:00:54 +0000 |
parents | 506d3398a966 |
children | 925eecc7a2cc |
files | lisp/ChangeLog lisp/emacs-lisp/derived.el |
diffstat | 2 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Fri May 25 16:58:18 2007 +0000 +++ b/lisp/ChangeLog Fri May 25 17:00:54 2007 +0000 @@ -1,5 +1,8 @@ 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.
--- a/lisp/emacs-lisp/derived.el Fri May 25 16:58:18 2007 +0000 +++ b/lisp/emacs-lisp/derived.el Fri May 25 17:00:54 2007 +0000 @@ -254,11 +254,7 @@ ,@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.