]> git.eshelyaron.com Git - emacs.git/commit
Don't indent unrelated widgets following widget of type 'other
authorMauro Aranda <maurooaranda@gmail.com>
Thu, 26 Sep 2019 15:16:28 +0000 (17:16 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 26 Sep 2019 15:16:28 +0000 (17:16 +0200)
commit45524b9702b4a6face2cf453eb02ddf10a496b45
treebd97db6a79a4e364c7fb140a168bdab539feaaf3
parent08fbe91dfebf023bb45f1485fb432e9118ef5abb
Don't indent unrelated widgets following widget of type 'other

* lisp/wid-edit.el (widget 'other): Use \n instead of the %n escape in the
:format property of this widget.  If %n is used at the end of the
format string, unrelated widgets get indented.  (Bug#12533)

* test/wid-edit-tests.el (widget-test-indentation-after-%n)
(widget-test-indentation-after-newline)
(widget-test-newline-and-indent-same-widget): New tests.
lisp/wid-edit.el
test/lisp/wid-edit-tests.el