|
From: | Kevin Rodgers |
Subject: | Re: ** Graded examples of lambda functions in emacs lisp, how to create hook variable? ** |
Date: | Mon, 07 Oct 2002 11:48:28 -0600 |
User-agent: | Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
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:<kevinr@ihs.com>">Kevin Rodgers</a>
[Prev in Thread] | Current Thread | [Next in Thread] |