Fix how the `character' custom type handles space chars.
commitaa4589a7cfb435c704549855b1f19e335bcf3b20
authorChong Yidong <cyd@gnu.org>
Sun, 5 Feb 2012 15:33:30 +0000 (5 23:33 +0800)
committerChong Yidong <cyd@gnu.org>
Sun, 5 Feb 2012 15:33:30 +0000 (5 23:33 +0800)
tree40d2bbd3e9e53bec54b753ace5eaa6cdc507ac90
parente1161b06fc12499f9990fc23a915d75bb8866cd2
Fix how the `character' custom type handles space chars.

* lisp/wid-edit.el (widget-field-value-get): New optional arg to
suppress trailing whitespace truncation.
(character): Use it.

Fixes: debbugs:2689
lisp/ChangeLog
lisp/wid-edit.el