From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juan Pechiar Subject: Re: Change DOCTYPE declaration? Date: Wed, 17 Nov 2010 21:02:12 -0200 Message-ID: <20101117230211.GI2450@soloJazz.com> References: <20101117130409.773797d2amscopub-mail@yahoo.com@dove.localdomain> <20101117183427.GG2450@soloJazz.com> <20101117152308.63473cd6amscopub-mail@yahoo.com@dove.localdomain> <20101117214505.GH2450@soloJazz.com> <27942.1290032705@gamaville.americas.hpqcorp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=44339 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIr18-0003u7-2c for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 18:02:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIr16-00053O-PD for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 18:02:17 -0500 Received: from cpoproxy1-pub.bluehost.com ([69.89.21.11]:51872) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PIr16-00052r-Hn for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 18:02:16 -0500 Content-Disposition: inline In-Reply-To: <27942.1290032705@gamaville.americas.hpqcorp.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos Cc: emacs-orgmode@gnu.org On Wed, Nov 17, 2010 at 05:25:05PM -0500, Nick Dokos wrote: > #+BIND: uriel-change-doctype t > > but a good (if not scalable) solution to the problem. > > I have a question however: why is it that hooks can't be set using > this mechanism? >From my limited understanding, the #+BIND directive is for binding variables. For correctly adding a hook you must call add-hook, which adds a function to the corresponding hook list.