From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.help Subject: Re: document when no hook is available Date: Sat, 10 Dec 2011 18:56:07 +0800 Message-ID: <87aa70u248.fsf@jidanni.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1323514582 31008 80.91.229.12 (10 Dec 2011 10:56:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 10 Dec 2011 10:56:22 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: lekktu@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 10 11:56:18 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RZKbK-0004aL-6T for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Dec 2011 11:56:18 +0100 Original-Received: from localhost ([::1]:38800 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZKbJ-0000EP-8a for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Dec 2011 05:56:17 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:37018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZKbE-0000EJ-PA for help-gnu-emacs@gnu.org; Sat, 10 Dec 2011 05:56:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RZKbD-0005GI-TL for help-gnu-emacs@gnu.org; Sat, 10 Dec 2011 05:56:12 -0500 Original-Received: from caiajhbdcbef.dreamhost.com ([208.97.132.145]:56492 helo=homiemail-a1.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZKbD-0005G9-Ki for help-gnu-emacs@gnu.org; Sat, 10 Dec 2011 05:56:11 -0500 Original-Received: from homiemail-a1.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTP id AFFC334806A; Sat, 10 Dec 2011 02:56:09 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=Hxskhopv/vzghI5pKfuIf+3xDSOCa6FlZxGWwA7NIuVgn6XO3 n4fXu1j2vKIiUu4B4f6iXMb4+4mrELBfIzr29AXMznNvVfUOVvSHiwRE0H+rP9eu QzoYv++BwkhlqwY+CVqVz2Mde/oluOvq4FxboCrmY0Oo/j1PkNaNRNMRzs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=Qxo2dEI9ifTIwTG07L3nZHxsLA8=; b=AAGw0d7aDFuSd U7X2AtdL3y6uWZtqOdF8Y73cmPjVxPycoSIfbP+1MwBJRQjDW1KKR6lU6rl6ZbjS Lmwv9zLJITww4PhhNzVDC3HGdTGZKWg5GHztA+KX3QymLmUwkbTUfw9HaYoZRbUN Xj3n5pS5AKzbHGpOfuIlIoXS6eCcog= Original-Received: from jidanni.org (218-163-20-213.dynamic.hinet.net [218.163.20.213]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTPSA id 61E4C348062; Sat, 10 Dec 2011 02:56:09 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.97.132.145 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83178 Archived-At: >>>>> "JB" == Juanma Barranquero writes: JB> (defadvice ZZZ-mode (after ZZZ-add-hook activate) JB> (run-mode-hooks 'ZZZ-mode-hook)) Ah, (info "(elisp) Advising Functions")... perfecto. Thanks!