[Top][All Lists]

[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: Tue, 17 Nov 2015 21:55:24 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> As far as I can tell, changing a text property will result in changes to
> the undo list, but doesn't call prepare_to_modify_buffer. Rather
> modify_text_properties appears to call prepare_to_modify_buffer_1
> directly. Bit surprising -- I wouldn't have expected a function called
> "blah_1" to be called directly from anywhere other than "blah".

Ah, so maybe the call to run_undoable_change should be in
prepare_to_modify_buffer_1 rather than in prepare_to_modify_buffer.
I haven't actually looked at the code.


reply via email to

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