"Drew Adams" <[EMAIL PROTECTED]> writes:

> Because it's always possible for a history list to end up containing
> malformed entries,

Really?  How can that happen?

> in my local copy of savehist.el I have added this condition-case:
>
> (defun savehist-autosave ()
>   "Save the minibuffer history if it has been modified since the last
> save."
>   (condition-case nil
>       (savehist-save t)
>     (error nil)))

The problem with this is that it effectively disables saving the
history until you reenter Emacs.  savehist-save could check for
"printability" of each history list, but that check does not come
without a cost and I wanted to avoid it if I could.


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to