]> git.eshelyaron.com Git - emacs.git/commit
Distinguish buttons from widgets (bug#34506)
authorBasil L. Contovounesios <contovob@tcd.ie>
Sun, 7 Apr 2019 02:36:47 +0000 (03:36 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Sun, 7 Apr 2019 02:56:27 +0000 (03:56 +0100)
commit08235af38c92e95d8ec9d268916d8910ea50ab2d
treed065cbd0fcb339ddf2f2fd0b809400a54deb99ef
parent43f4c7ddd2077b2e786d069bbb9e2de32f23ffb2
Distinguish buttons from widgets (bug#34506)

* lisp/button.el (button-at):
* lisp/wid-edit.el (widget-at): Avoid returning a false positive
when looking for a button and finding a widget, or vice versa.
* test/lisp/button-tests.el:
* test/lisp/wid-edit-tests.el: New files.
lisp/button.el
lisp/wid-edit.el
test/lisp/button-tests.el [new file with mode: 0644]
test/lisp/wid-edit-tests.el [new file with mode: 0644]