From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Changing occur-hook to occur-functions Date: Mon, 04 Jul 2005 03:29:59 +0300 Organization: JURTA Message-ID: <87br5jmd77.fsf@jurta.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1120451375 21099 80.91.229.2 (4 Jul 2005 04:29:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2005 04:29:35 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 04 06:29:30 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DpIa0-0007OM-5L for ged-emacs-devel@m.gmane.org; Mon, 04 Jul 2005 06:29:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DpIbB-0005d8-UO for ged-emacs-devel@m.gmane.org; Mon, 04 Jul 2005 00:30:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DpIZL-0004wY-8J for emacs-devel@gnu.org; Mon, 04 Jul 2005 00:28:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DpIZH-0004u6-6r for emacs-devel@gnu.org; Mon, 04 Jul 2005 00:28:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DpIZG-0004ra-AP for emacs-devel@gnu.org; Mon, 04 Jul 2005 00:28:26 -0400 Original-Received: from [194.126.101.116] (helo=HOT-Bounce1.hot.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DpIZN-0000C9-4L for emacs-devel@gnu.org; Mon, 04 Jul 2005 00:28:33 -0400 Original-Received: from mail.neti.ee (Relay5 [192.168.1.24]) by HOT-Bounce1.hot.ee (Postfix) with ESMTP id F34CA151811 for ; Mon, 4 Jul 2005 07:09:05 +0300 (EEST) Original-Received: from mail.neti.ee (80-235-34-48-dsl.mus.estpak.ee [80.235.34.48]) by Relayhost1.neti.ee (Postfix) with ESMTP id 765EF2A82; Mon, 4 Jul 2005 07:22:10 +0300 (EEST) Original-To: Juanma Barranquero In-Reply-To: (Juanma Barranquero's message of "Sat, 2 Jul 2005 21:01:13 +0200") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:40303 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40303 BTW, the docstrings of `compilation-mode-hook' doesn't match the code. I suppose that the code is right and that only docstrings need to be fixed: Index: lisp/progmodes/compile.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/progmodes/compile.el,v retrieving revision 1.363 diff -u -r1.363 compile.el --- lisp/progmodes/compile.el 28 Jun 2005 18:57:00 -0000 1.363 +++ lisp/progmodes/compile.el 4 Jul 2005 00:29:16 -0000 @@ -78,7 +78,7 @@ ;;;###autoload (defcustom compilation-mode-hook nil - "*List of hook functions run by `compilation-mode' (see `run-hooks')." + "*List of hook functions run by `compilation-mode' (see `run-mode-hooks')." :type 'hook :group 'compilation) @@ -1213,7 +1213,7 @@ move point to the error message line and type \\[compile-goto-error]. To kill the compilation, type \\[kill-compilation]. -Runs `compilation-mode-hook' with `run-hooks' (which see). +Runs `compilation-mode-hook' with `run-mode-hooks' (which see). \\{compilation-mode-map}" (interactive) -- Juri Linkov http://www.jurta.org/emacs/