Commits

Anonymous committed b520a3d

Steve Youngs' commit 'bot

  • Participants
  • Parent commits 03a008d

Comments (0)

Files changed (2)

+2007-08-18  Steve Youngs  <steve@sxemacs.org>
+
+	* savehist.el (savehist-save): Make sure values are printable when
+	saving minibuffer variables.
+
 2006-12-28  Norbert Koch  <viteno@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 2.37 released.
 	(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.