emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-25 08de101: Fix M-x hints on Mac port


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-25 08de101: Fix M-x hints on Mac port
Date: Fri, 23 Dec 2016 08:54:50 +0000 (UTC)

branch: emacs-25
commit 08de101d754e552e42d838c8b27e1b374791d9af
Author: Stefan Monnier <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix M-x hints on Mac port
    
    * lisp/simple.el (execute-extended-command--shorter): Call
    input-pending-p to trigger input processing on some systems, such
    as Mac port.  (Bug#23002)
---
 lisp/simple.el |    1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/simple.el b/lisp/simple.el
index 162f6dd..c85e2cd 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1663,6 +1663,7 @@ If the value is non-nil and not a number, we wait 2 
seconds."
                   ;; Don't show the help message if the binding isn't
                   ;; significantly shorter than the M-x command the user typed.
                   (< len (- max 5))))
+      (input-pending-p)    ;Dummy call to trigger input-processing, bug#23002.
       (let ((candidate (pop candidates)))
         (when (equal name
                        (car-safe (completion-try-completion



reply via email to

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