emacs-devel
[Top][All Lists]
Advanced

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

Re: eval-after-load as a macro (and eval-next-after-load)


From: Richard Stallman
Subject: Re: eval-after-load as a macro (and eval-next-after-load)
Date: Mon, 07 Apr 2003 22:31:03 -0400

    Speaking of breaking execution and incompatibilities, the use of the new
    `run-mode-hooks' in `define-derived-mode' has caused a small
    backward-incompatibility: .elc files using `define-derived-mode' and
    compiled with 21.3.50 cannot be loaded on 21.[123] releases. 

Does this patch solve that problem?

*** derived.el.~1.36.~  Fri Sep 13 15:36:25 2002
--- derived.el  Mon Apr  7 17:41:13 2003
***************
*** 226,232 ****
          ,@body
          )
                                        ; Run the hooks, if any.
!        (run-mode-hooks ',hook)))))
  
  ;; PUBLIC: find the ultimate class of a derived mode.
  
--- 226,234 ----
          ,@body
          )
                                        ; Run the hooks, if any.
!        (if (fboundp 'run-mode-hooks)
!            (run-mode-hooks ',hook)
!          (run-hooks ',hook))))))
  
  ;; PUBLIC: find the ultimate class of a derived mode.
  




reply via email to

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