help-gnu-emacs
[Top][All Lists]
Advanced

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

read-char bug


From: Davin Pearson
Subject: read-char bug
Date: Fri, 19 Oct 2018 18:30:38 -0700 (PDT)
User-agent: G2/1.0

When I run the following code and then press the left mouse button and it goes 
into an infinite loop.  I have also tried the alternative to read-char, 
methinks it is something like read-char-exclusive and that fails too.

(let (done ch)
  (setq done nil)
  (when (not done)
  (condition-case err
     (setq ch (read-char "Enter y, n, ! or q"))'
     (error 
        (message "Wrong char")))
        ))
   ch)


reply via email to

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