Open fapdash opened 1 week ago
M-: (setq buffer-undo-list nil)
is a heavy hammer that works. I sometimes reach for it when history is too deep. I do still wish for a command to specify a time frame (e.g. two weeks) and remove anything on the undo list "older" than that. That would only work for buffers which had been saved to file.
Is there a way to throw away all undo/redo history information for the current buffer?
I try to do this in the following scenarios:
Of course this would also help for https://github.com/casouri/vundo/issues/68.