From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.help Subject: Re: make-local-hook? Date: Thu, 09 Jun 2016 16:36:51 +0000 Message-ID: References: <20160609030739.25145.qmail@rahul.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1465490265 18386 80.91.229.3 (9 Jun 2016 16:37:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jun 2016 16:37:45 +0000 (UTC) To: John Conover , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 09 18:37:41 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bB2xg-0002Gk-Cl for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Jun 2016 18:37:40 +0200 Original-Received: from localhost ([::1]:35731 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bB2xf-0008QN-IT for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Jun 2016 12:37:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bB2x7-0008Nr-90 for help-gnu-emacs@gnu.org; Thu, 09 Jun 2016 12:37:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bB2x5-0007WW-5B for help-gnu-emacs@gnu.org; Thu, 09 Jun 2016 12:37:04 -0400 Original-Received: from mail-oi0-x22c.google.com ([2607:f8b0:4003:c06::22c]:35362) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bB2x5-0007WP-1T for help-gnu-emacs@gnu.org; Thu, 09 Jun 2016 12:37:03 -0400 Original-Received: by mail-oi0-x22c.google.com with SMTP id s139so72122668oie.2 for ; Thu, 09 Jun 2016 09:37:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=pp5KRzztuF4CC5ajJSYlrK4W1Kn+Cnr3OvvrS7uc9dY=; b=gIsZFpH6ZVe4c6SHZh0FdOrFfP7j2eNHEwlDVF9rQ5YIrqQQejoLT0JRRdeE06G9zp KX4oc2dXNs/RNyr7fGHal+XIBaxRVHOMetbtsHZxQCM+YaNy8poCkBgFVPl9XQETap4e tSa81zBSHhq6XvtExEmLuuoMrCD577IfWvJfe6RzBQD6YjPFlOVe7/Z7ezIz30bffYxs 32MinaNcxROpnZ6P67SIvO83QRwdokO1WR4Vq96QlP/sP71lwUehycrUk7v8yZpvunZy qgnpkM31XBAiZZxmjjTVY1hnP8EwfX7qYIDZT6ogrwnLzHdwBv28zwtbWr/fIpl3fz4k 4L+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=pp5KRzztuF4CC5ajJSYlrK4W1Kn+Cnr3OvvrS7uc9dY=; b=aQDpBmpyXk0I/hJWE9i2dqjKrdA8/aE+MHvmVSU7ARFdbUmYbCB+sa5tMxznmCN7eC 8ThG1XKilvlyFDFmlvY8k7qXNr8FwyNgS0jmdG7fNSlw7Lw+3FkuKn1LuRk/xKfrpZMt fjRVVuwNo9mQ4WPu+8V8PcJ3HKXMHUMpZJ2LznLJC/2HMEzTXHkVuWm5JapXkBTU0SQR WJ2UXaAgcYp19WO8RBRkEcKgqc0OUF86h4CiS/lXPGJoZFQoQuOb5OvXlU/1u5Di0t38 MTZqB7NqkU3iF8H1EhlMmJzu4UJChcc6Ji8iMvlza95pyhyx48o2Mz0BtV0gQtM29nhY w83Q== X-Gm-Message-State: ALyK8tL1NzGz4mKrithrByCwyDh7MY/k+q3Llh/PtMCgXaVjh2sDuzbg3kZdQX3oVSJgTNkaOV1bfH4Z4PGsng== X-Received: by 10.202.199.68 with SMTP id x65mr3610755oif.50.1465490222021; Thu, 09 Jun 2016 09:37:02 -0700 (PDT) In-Reply-To: <20160609030739.25145.qmail@rahul.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::22c X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:110400 Archived-At: I believe defvar-local should work just fine. Because after all, hooks are variables. On Thu, Jun 9, 2016, 12:26 PM John Conover wrote: > Is there an alternative function in emacs 24 to make-local-hook in > emacs 19-23? > > Thanks, > > John > > -- > > John Conover, conover@rahul.net, http://www.johncon.com/ > > -- -- Kaushal Modi