casouri / vundo

Visualize the undo tree.
413 stars 20 forks source link

Backport undo--last-change-was-undo-p for emacs-27 #25

Closed ideasman42 closed 2 years ago

ideasman42 commented 2 years ago

Provide undo--last-change-was-undo-p for older versions of emacs, This is useful as emacs-28 has not yet been released.

casouri commented 2 years ago

We really need Emacs 28 because there is a change required by vundo: https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=71ef0122abf5215eafa2dc414b75630a709de008

Without that change vundo can't work properly with undo-in-region. (Even with that change, undo-in-region still doesn't fit too well with vundo, an undo-in-region is regarded as a new modification rather than an undo.)

ideasman42 commented 2 years ago

Ah, no worries then. Closing.