From: Paul Pogonyshev <pogonyshev@gmx.net>
Cc: emacs-devel@gnu.org
Subject: Re: `after-change-functions' and undo
Date: Sun, 28 Nov 2004 16:51:27 +0200 [thread overview]
Message-ID: <200411281651.27454.pogonyshev@gmx.net> (raw)
In-Reply-To: <x5fz2u8a9s.fsf@lola.goethe.zz>
David Kastrup wrote:
> Paul Pogonyshev <pogonyshev@gmx.net> writes:
> > I'm having a problem with `after-change-functions' and undo
> > interference.
> >
> > So, the question is: can I prevent my `after-change' hook
> > from running while undo is in effect? I couldn't figure out
> > from the manual.
>
> undo-in-progress's value is nil
>
> Non-nil while performing an undo.
> Some change-hooks test this variable to do something different.
>
> Defined in `simple'.
That's exactly what I was looking for, thank you.
Maybe it should be added to the Elisp manual? I can do this,
but I'm not sure where to add the description.
Paul
next prev parent reply other threads:[~2004-11-28 14:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-27 23:43 `after-change-functions' and undo Paul Pogonyshev
2004-11-28 11:48 ` David Kastrup
2004-11-28 14:51 ` Paul Pogonyshev [this message]
2004-11-29 6:11 ` Richard Stallman
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=200411281651.27454.pogonyshev@gmx.net \
--to=pogonyshev@gmx.net \
--cc=emacs-devel@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.