all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <kevinr@ihs.com>
Subject: Re: ** Graded examples of lambda functions in emacs lisp, how to create hook variable? **
Date: Mon, 07 Oct 2002 11:48:28 -0600	[thread overview]
Message-ID: <3DA1C8EC.6070801@ihs.com> (raw)
In-Reply-To: 9e8ebeb2.0210070738.1b12118d@posting.google.com

gnuist wrote:

> One last question at this stage: I know how you "add-hook" but how do you
> create a hook variable in the first place? Is it something particular to
> emacs?


(defvar some-hook nil)


(defun some-function (...)
   ...
   (run-hooks 'some-hook)
   ...)

-- 
<a href="mailto:&lt;kevinr&#64;ihs.com&gt;">Kevin Rodgers</a>

  parent reply	other threads:[~2002-10-07 17:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-07 15:38 ** Graded examples of lambda functions in emacs lisp, how to create hook variable? ** gnuist
2002-10-07 15:54 ` David Kastrup
2002-10-08 14:21   ` gnuist006
2002-10-08 15:13     ` David Kastrup
2002-10-07 17:48 ` Kevin Rodgers [this message]
2002-10-08 14:28   ` gnuist006
2002-10-08 16:16     ` Mark A. Flacy
2002-10-08 17:19     ` Kevin Rodgers

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=3DA1C8EC.6070801@ihs.com \
    --to=kevinr@ihs.com \
    /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.