help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

undo boundaries


From: Nikolaj Schumacher
Subject: undo boundaries
Date: Sat, 15 Mar 2008 12:39:58 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.92 (darwin)

Hi,

I'm trying to use undo boundaries, but I'm unable to explain its
behavior.

For example:

(defun test ()
  (interactive)
  (insert "a")
  (undo-boundary)
  (insert "b"))

If I do M-x test, I get:
ab
  ^

But if I undo once, I get:
a
^

What I was expecting:
a
 ^

Is this a bug or is there a reason for this behavior?


regards,
Nikolaj Schumacher




reply via email to

[Prev in Thread] Current Thread [Next in Thread]