]> git.eshelyaron.com Git - emacs.git/commit
Avoid prompting when creating a restricted-sexp widget
authorMauro Aranda <maurooaranda@gmail.com>
Sun, 16 Jul 2023 22:46:54 +0000 (19:46 -0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 22 Jul 2023 12:55:31 +0000 (15:55 +0300)
commita9210e8efd628a76084f50b6e67e009d35fac32b
tree84b4d90d51f11553f9a223f3e307c9d88a55d969
parenta403e2832d240242154200f0e5448652fa189769
Avoid prompting when creating a restricted-sexp widget

* lisp/wid-edit.el (restricted-sexp): Turn value into a
string before reading.
(widget-field-value-create): Guard against value being nil,
so the field can be created even if the widget has a bad
default value.  (Bug#59937)
lisp/wid-edit.el