unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: PT <mailshield.gg@mailnull.com>
Subject: Modifying a hook while it's being executed
Date: Mon, 08 Aug 2005 17:32:50 +0200	[thread overview]
Message-ID: <op.su6340olp52o26@home-ca12fabbc0> (raw)

Is it safe? I haven't seen it anywhere stated explicitly.

For example, I add a hook function to pre-command-hook or  
post-command-hook which removes itself from the hook when invoked.

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/

             reply	other threads:[~2005-08-08 15:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-08 15:32 PT [this message]
2005-08-08 15:42 ` Modifying a hook while it's being executed J. David Boyd
     [not found] ` <mailman.3028.1123516720.20277.help-gnu-emacs@gnu.org>
2005-08-08 18:51   ` rgb
2005-08-08 20:21     ` kcin
2005-08-08 20:34       ` Henrik Enberg
     [not found]       ` <mailman.3053.1123533819.20277.help-gnu-emacs@gnu.org>
2005-08-08 20:55         ` David Kastrup
2005-08-08 21:08           ` Henrik Enberg
     [not found]           ` <mailman.3058.1123535725.20277.help-gnu-emacs@gnu.org>
2005-08-08 21:32             ` David Kastrup

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=op.su6340olp52o26@home-ca12fabbc0 \
    --to=mailshield.gg@mailnull.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).