Minor fix of the last commit in menu-bar-open.

lisp/menu-bar.el (menu-bar-open): Fix last change: use the PC
 '(redisplay)' instead of '(sit-for 0)'.
This commit is contained in:
Eli Zaretskii 2014-06-03 12:50:04 +03:00
parent a336b2eae3
commit 0016fa11a7
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2014-06-03 Eli Zaretskii <eliz@gnu.org>
* menu-bar.el (menu-bar-open): Fix last change: use the PC
'redisplay' instead of '(sit-for 0)'.
2014-06-03 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-ssh-controlmaster-options): Improve search

View file

@ -2272,7 +2272,7 @@ If FRAME is nil or not given, use the selected frame."
;; via M-x, in which case the menu bar includes the "Minibuf"
;; menu item that should be removed when we exit the minibuffer.
(force-mode-line-update)
(sit-for 0)
(redisplay)
(let* ((x tty-menu--initial-menu-x)
(menu (menu-bar-menu-at-x-y x 0 frame)))
(popup-menu (or