From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: how to use "dolist" if it's elements are also list Date: Tue, 3 Nov 2009 21:00:27 -0800 Message-ID: References: <4AF10390.1060102@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1257310966 21494 80.91.229.12 (4 Nov 2009 05:02:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Nov 2009 05:02:46 +0000 (UTC) To: "'Chris'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 04 06:02:39 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N5Y0r-0003Zu-6T for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Nov 2009 06:02:29 +0100 Original-Received: from localhost ([127.0.0.1]:50980 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5Y0q-0001lr-PR for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Nov 2009 00:02:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N5Y0X-0001le-4J for help-gnu-emacs@gnu.org; Wed, 04 Nov 2009 00:02:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5Y0S-0001l8-JA for help-gnu-emacs@gnu.org; Wed, 04 Nov 2009 00:02:08 -0500 Original-Received: from [199.232.76.173] (port=57301 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5Y0S-0001l5-Er for help-gnu-emacs@gnu.org; Wed, 04 Nov 2009 00:02:04 -0500 Original-Received: from acsinet12.oracle.com ([141.146.126.234]:58435) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N5Y0R-0000Zc-SH for help-gnu-emacs@gnu.org; Wed, 04 Nov 2009 00:02:04 -0500 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id nA451jkJ001668 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 4 Nov 2009 05:01:46 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id nA3MML53004221; Wed, 4 Nov 2009 05:03:26 GMT Original-Received: from abhmt020.oracle.com by acsmt357.oracle.com with ESMTP id 64494731257310821; Tue, 03 Nov 2009 23:00:21 -0600 Original-Received: from dradamslap1 (/141.144.80.230) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 03 Nov 2009 21:00:21 -0800 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcpdB69CKg6/NT7VQFipp6eUPl0rUwAA9dxg In-Reply-To: <4AF10390.1060102@gmail.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt356.oracle.com [141.146.40.156] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090209.4AF10AC5.018D:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:69461 Archived-At: > (dolist > (the-hook > '(c-mode-common-hook > java-mode-hook > perl-mode-hook > php-mode-hook > emacs-lisp-mode-hook)) > (add-hook 'the-hook 'my-common-key-binding)) Don't quote the-hook. You want its value. The value of 'the-hook is the symbol the-hook itself, not the value of that symbol.