Commit 95d5e396 authored by Leo Liu's avatar Leo Liu
Browse files

Stricter check for string value in savehist-printable

Fixes: debbugs:10937
parent cae07000
2012-03-09 Leo Liu <>
* savehist.el (savehist-printable): Stricter check for string
value (Bug#10937).
2012-03-09 Eli Zaretskii <>
* mail/smtpmail.el (smtpmail-send-it): Bind
......@@ -369,9 +369,11 @@ trimming of history lists to `history-length' items."
"Return non-nil if VALUE is printable."
;; Quick response for oft-encountered types known to be printable.
((stringp value))
((numberp value))
((symbolp value))
;; String without properties
((and (stringp value)
(equal-including-properties value (substring-no-properties value))))
;; For others, check explicitly.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment