From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: eval-after-load as a macro (and eval-next-after-load) Date: Mon, 07 Apr 2003 22:31:03 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20030407185925.BBA2.LEKTU@terra.es> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1049770119 20780 80.91.224.249 (8 Apr 2003 02:48:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 8 Apr 2003 02:48:39 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Apr 08 04:48:33 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 192j7R-0005JK-00 for ; Tue, 08 Apr 2003 04:45:53 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 192jBE-000856-00 for ; Tue, 08 Apr 2003 04:49:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 192j7e-00052x-06 for emacs-devel@quimby.gnus.org; Mon, 07 Apr 2003 22:46:06 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 192j7I-0004jD-00 for emacs-devel@gnu.org; Mon, 07 Apr 2003 22:45:44 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 192j4n-0002vH-00 for emacs-devel@gnu.org; Mon, 07 Apr 2003 22:43:11 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 192it6-0004rf-00 for emacs-devel@gnu.org; Mon, 07 Apr 2003 22:31:04 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 192it5-0000rQ-00; Mon, 07 Apr 2003 22:31:03 -0400 Original-To: Juanma Barranquero In-reply-to: <20030407185925.BBA2.LEKTU@terra.es> (message from Juanma Barranquero on Mon, 07 Apr 2003 19:04:41 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13007 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13007 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.