]> git.eshelyaron.com Git - emacs.git/commit
Avoid errors when a restricted-sexp widget is empty
authorMauro Aranda <maurooaranda@gmail.com>
Sat, 9 Sep 2023 13:59:30 +0000 (21:59 +0800)
committerEli Zaretskii <eliz@gnu.org>
Sat, 16 Sep 2023 09:56:34 +0000 (12:56 +0300)
commit2ea98ea35c82da31ef419da3b49789ab750e8e00
treeeb0329873307c052873b331105ec094c114e4246
parent68976b00f1024f4bd3b5f2f91c090426c03f609a
Avoid errors when a restricted-sexp widget is empty

* lisp/wid-edit.el (restricted-sexp): Don't try to read
an empty string when converting the current value to the
external format.  (Bug#63838)

* test/lisp/wid-edit-tests.el (widget-test-restricted-sexp-empty-val):
New test.
lisp/wid-edit.el
test/lisp/wid-edit-tests.el