2007-08-18 Steve Youngs <steve(a)sxemacs.org>
* savehist.el (savehist-save): Make sure values are printable when
saving minibuffer variables.
--- savehist.el.orig 2007-08-18 23:43:49.000000000 +1000
+++ savehist.el 2007-08-18 23:43:00.000000000 +1000
@@ -306,7 +306,7 @@
(dolist (symbol savehist-minibuffer-history-variables)
(when (boundp symbol)
(let ((value (savehist-trim-history (symbol-value symbol))))
- (when value ; don't save empty histories
+ (when (and (savehist-printable value) value) ; don't save empty histories
(prin1 `(setq ,symbol ',value) (current-buffer))
(insert ?\n))))))
;; Save the additional variables.
--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| SXEmacs - The only _______ you'll ever need. |
| Fill in the blank, yes, it's THAT good! |
|------------------------------------<steve(a)sxemacs.org>---|
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches