]> git.eshelyaron.com Git - emacs.git/commit
lisp/so-long.el: Use (interactive "@") for menu commands
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 16 Nov 2019 01:39:00 +0000 (14:39 +1300)
committerPhil Sainty <psainty@orcon.net.nz>
Mon, 18 Nov 2019 08:25:36 +0000 (21:25 +1300)
commit6b361d95302c23dc65468ff9f5828577625e0fe2
treeba821a64ff096793cba5a05971bc7f374028afc8
parent206f36b38cfe50e92acc8d48926d1e5e2dec5939
lisp/so-long.el: Use (interactive "@") for menu commands

* lisp/so-long.el (so-long-menu, so-long-menu-item-replace-action)
(so-long-revert): Use interactive code "@", replacing all uses of
`so-long-menu-click-window'.  This approach leaves the window selected
afterwards, whereas the old code did not; but that is not a problem.
(so-long-menu-click-window, so-long-menu-item-revert): Remove the
deprecated functions.

* test/lisp/so-long-tests/so-long-tests.el
(so-long-tests-so-long-menu-item-replace-action): Update the test.

Co-authored-by: Phil Sainty <psainty@orcon.net.nz>
lisp/so-long.el
test/lisp/so-long-tests/so-long-tests.el