all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: John Conover <conover@rahul.net>, help-gnu-emacs@gnu.org
Subject: Re: make-local-hook?
Date: Thu, 09 Jun 2016 16:36:51 +0000	[thread overview]
Message-ID: <CAFyQvY2ZiAH4ZGrxOSt=VAsOQ=5+P25Hw8=FbOj_DTLfBVQC=w@mail.gmail.com> (raw)
In-Reply-To: <20160609030739.25145.qmail@rahul.net>

I believe defvar-local should work just fine. Because after all, hooks are
variables.

On Thu, Jun 9, 2016, 12:26 PM John Conover <conover@rahul.net> 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


  reply	other threads:[~2016-06-09 16:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-09  3:07 make-local-hook? John Conover
2016-06-09 16:36 ` Kaushal Modi [this message]
2016-06-09 17:34 ` make-local-hook? Glenn Morris
2016-06-10 20:25 ` make-local-hook? Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFyQvY2ZiAH4ZGrxOSt=VAsOQ=5+P25Hw8=FbOj_DTLfBVQC=w@mail.gmail.com' \
    --to=kaushal.modi@gmail.com \
    --cc=conover@rahul.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.