I'm using undo-tree
with AUCTeX, and I am persisting my undo files like so:
(setq undo-tree-auto-save-history t)
Unfortunately, this regularly results in large (~1MB) undo save files which cause my Emacs to hang when they're loaded. The reason for this is the large number of text-properties that AUCTeX puts on its buffer contents, which bloats the file by orders of magnitude.
Is it safe to remove these properties from the save file, and if so, how can I do so?