]> git.eshelyaron.com Git - emacs.git/commit
Allow the newline character in the character widget (Bug#15925)
authorMauro Aranda <maurooaranda@gmail.com>
Wed, 23 Sep 2020 13:45:29 +0000 (15:45 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 23 Sep 2020 13:45:36 +0000 (15:45 +0200)
commitb252e09ae4fc816ecee1971e8f0b7f207fb4a507
tree93ad7a177ad92d1fc0c579c96a7a153e7880d357
parent6037051f49ab5f96b406461490dba56faa2a5f35
Allow the newline character in the character widget (Bug#15925)

* lisp/wid-edit.el (widget-specify-field): Extend check for adding the
boundary overlay.  Plus, a minor comment indentation fix.
(character widget): Tweak the valid-regexp to allow the newline
character.

* test/lisp/wid-edit-tests.el (widget-test-character-widget-value)
(widget-test-editable-field-widget-value): New tests (bug#15925).
lisp/wid-edit.el
test/lisp/wid-edit-tests.el