emacs-devel
[Top][All Lists]
Advanced

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

Re: Calling Lisp from undo.c's record_* functions


From: Stefan Monnier
Subject: Re: Calling Lisp from undo.c's record_* functions
Date: Thu, 19 Nov 2015 12:49:57 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> prepare_to_modify_buffer.  This seems to avoid calling Lisp while the
> gap is being manipulated, but my question is: are there any pitfalls
> to calling Lisp code on the level of insdel.c functions?  I'd like to
> hear your opinion before we decide whether to install the proposed
> solution, or look for a safer one.

As mentioned earlier, this function has been running Elisp code forever
already via the before-change-functions hook.
So we don't really have a choice here.


        Stefan



reply via email to

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