emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-24 r117201: Minor fix of the last commit in menu-bar


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-24 r117201: Minor fix of the last commit in menu-bar-open.
Date: Tue, 03 Jun 2014 09:50:48 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117201
revision-id: address@hidden
parent: address@hidden
committer: Eli Zaretskii <address@hidden>
branch nick: emacs-24
timestamp: Tue 2014-06-03 12:50:04 +0300
message:
  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)'.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/menu-bar.el               menubar.el-20091113204419-o5vbwnq5f7feedwu-546
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-06-03 07:43:24 +0000
+++ b/lisp/ChangeLog    2014-06-03 09:50:04 +0000
@@ -1,3 +1,8 @@
+2014-06-03  Eli Zaretskii  <address@hidden>
+
+       * menu-bar.el (menu-bar-open): Fix last change: use the PC
+       'redisplay' instead of '(sit-for 0)'.
+
 2014-06-03  Michael Albinus  <address@hidden>
 
        * net/tramp.el (tramp-ssh-controlmaster-options): Improve search

=== modified file 'lisp/menu-bar.el'
--- a/lisp/menu-bar.el  2014-06-02 18:58:36 +0000
+++ b/lisp/menu-bar.el  2014-06-03 09:50:04 +0000
@@ -2272,7 +2272,7 @@
       ;; 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]