emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/derived.el,v


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lisp/emacs-lisp/derived.el,v
Date: Fri, 25 May 2007 17:00:56 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Stefan Monnier <monnier>        07/05/25 17:00:55

Index: emacs-lisp/derived.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/emacs-lisp/derived.el,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- emacs-lisp/derived.el       21 Jan 2007 02:44:24 -0000      1.17
+++ emacs-lisp/derived.el       25 May 2007 17:00:53 -0000      1.18
@@ -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.
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]