Make tmm-menubar work in correct order again
commitce0d8c7f2d8187942a8b45c3a71c22c5f30fa37d
authorEli Zaretskii <eliz@gnu.org>
Tue, 19 Apr 2016 15:06:52 +0000 (19 18:06 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 19 Apr 2016 15:06:52 +0000 (19 18:06 +0300)
treea483783b2891ae39f6427fbbba652549eb715096
parentb8d5a8fd1a16a30ac42883bfea3f25ecef1e7fde
Make tmm-menubar work in correct order again

* lisp/tmm.el (tmm-prompt): Don't reverse 'tmm-km-list' right at the
beginning; instead, pass a reversed copy to 'tmm--completion-table'.
(Bug#23309)
(tmm-menubar): Fix an off-by-one error in determining the menu
item when the function is called with a non-nil 'x-position'
argument.
lisp/tmm.el