emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/derived.el
Date: Mon, 14 Apr 2003 06:11:04 -0400

Index: emacs/lisp/derived.el
diff -c emacs/lisp/derived.el:1.36 emacs/lisp/derived.el:1.37
*** emacs/lisp/derived.el:1.36  Fri Sep 13 12:20:01 2002
--- emacs/lisp/derived.el       Mon Apr 14 06:11:04 2003
***************
*** 225,232 ****
                                        ; Splice in the body (if any).
          ,@body
          )
!                                       ; Run the hooks, if any.
!        (run-mode-hooks ',hook)))))
  
  ;; PUBLIC: find the ultimate class of a derived mode.
  
--- 225,236 ----
                                        ; Splice in the body (if any).
          ,@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))))))
  
  ;; PUBLIC: find the ultimate class of a derived mode.
  




reply via email to

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