From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (=?iso-8859-1?q?Johan_Bockg=E5rd?=) Newsgroups: gmane.emacs.help Subject: Re: problem getting hooks to be active Date: Mon, 11 Aug 2003 20:26:26 +0200 Organization: Chalmers University of Technology, Sweden Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <227a55e9.0308110934.1eb23f37@posting.google.com> <87ptjc3x6r.fsf@lorien.concordia.ca> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1060627607 22610 80.91.224.253 (11 Aug 2003 18:46:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Aug 2003 18:46:47 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 11 20:46:46 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19mHgs-0002XE-00 for ; Mon, 11 Aug 2003 20:46:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19mHRK-0005gF-3T for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Aug 2003 14:30:42 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.stueberl.de!npeer.de.kpn-eurorings.net!news.tele.dk!news.tele.dk!small.news.tele.dk!news.algonet.se!algonet!news.stupi.se!news.stupi.se!newsfeed.sunet.se!news01.sunet.se!dd.chalmers.se!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: frealaf.dd.chalmers.se Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (usg-unix-v) Cancel-Lock: sha1:+XQB9gQpma9D5AsI7UUi8DHyG/c= Original-Xref: shelby.stanford.edu gnu.emacs.help:115809 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:11727 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11727 Peter Solodov writes: > On 11 Aug 2003, Eric Pement wrote: >> (add-hook 'sgml-mode-hook' > > That second quote is really there??? In this case you're adding to > "sgml-mode-hook'", and not sgml-mode-hook. Strange. No, the second quote shouldn't really be there. However, it still works here (Emacs 21.2) as written. (list 'foo' bar) => (foo bar) And the lambda expression evaluates to itself anyway. -- Join us on #emacs @ irc.freenode.net. http://www.emacswiki.org/cgi-bin/wiki.pl/EmacsChannel