From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: run-hooks vs. run-mode-hooks. Date: Sat, 28 May 2005 07:52:06 -0400 Message-ID: References: <874qcro5gv.fsf@xs4all.nl> <87br6w8zzo.fsf@xs4all.nl> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1117281155 26362 80.91.229.2 (28 May 2005 11:52:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 28 May 2005 11:52:35 +0000 (UTC) Cc: yamaoka@jpl.org, ding@gnus.org, emacs-devel@gnu.org Original-X-From: ding-owner+M8890@lists.math.uh.edu Sat May 28 13:52:33 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dbzqv-0001ne-Gi for ding-account@gmane.org; Sat, 28 May 2005 13:51:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1Dbzrz-0000TB-00; Sat, 28 May 2005 06:52:47 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Dbzrs-0000T5-00 for ding@lists.math.uh.edu; Sat, 28 May 2005 06:52:40 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1Dbzrr-0007Cj-Jo for ding@lists.math.uh.edu; Sat, 28 May 2005 06:52:39 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Dbzrq-0000AV-00 for ; Sat, 28 May 2005 13:52:38 +0200 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DbzrK-0004pe-Tw; Sat, 28 May 2005 07:52:06 -0400 Original-To: Lute Kamstra In-reply-to: <87br6w8zzo.fsf@xs4all.nl> (message from Lute Kamstra on Fri, 27 May 2005 17:12:11 +0200) X-Spam-Score: -4.8 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60364 gmane.emacs.devel:37817 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37817 > (or (fboundp 'run-mode-hooks) > (defalias 'run-mode-hooks 'run-hooks)) It seems that that I was badly educated by code I read: I've quite often seen the use of constructs like the one above. Are there any examples in the Emacs sources? If so, could you show me a few?