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

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

Re: (undo) generates error message


From: Kevin Rodgers
Subject: Re: (undo) generates error message
Date: Mon, 01 Mar 2004 12:59:39 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Thomas Persson wrote:
> When I use (undo) inside a function it performs what it's expected to
> but also generates the following error message in the minibuffer:
>
>     File mode specification error: (error "No further undo information")
>
> The following code however does not generate an error:
>
>     (undo-start)
>     (undo-more 1)
>
> Why is this?

That error is only signalled from normal-mode, which I wouldn't think
would ever be called via undo.  Try setting debug-on-error or
debug-on-signal to see what the function stack looks like.

--
Kevin Rodgers



reply via email to

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