Closed liuyinz closed 2 years ago
It would be better to wrap the kill-buffer-and-window with the
kill-buffer-and-window
(with-current-buffer vundo--orig-buffer (setq-local inhibit-modification-hooks nil buffer-read-only nil))
together, don't use it directly. After all, vundo-quit would invoke it at least.
vundo-quit
Thank you! I should've know better. I changed vundo to make the original buffer read-only but didn't update other parts of the code to cooperate. It should be fixed now.
Great.
It would be better to wrap the
kill-buffer-and-window
with thetogether, don't use it directly. After all,
vundo-quit
would invoke it at least.