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

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

bug#23204: 25.1.50; Strange behaviour of ‘read-char’


From: Noam Postavsky
Subject: bug#23204: 25.1.50; Strange behaviour of ‘read-char’
Date: Sun, 12 Jun 2016 13:02:30 -0400

severity 23204 minor
quit

I also don't quite understand why this happens, but it seems that
using (message nil) to clear the minibuffer also works:

(defun my-command ()
  (interactive)
  (message nil)
  (while (read-char "My prompt…" t)))

(global-set-key (kbd "<f12> t y") #'my-command)

(I can't bind <menu> t y in emacs -Q, I get an error message telling
me <menu> is not a prefix key)





reply via email to

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