+2003-01-13 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * lisp/gnus-util.el (gnus-read-event-char): Take an optional
+ parameter even if Mule 2.3 is running.
+
2003-01-12 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus-vers.el: T-gnus 6.15.12 revision 00.
(defun gnus-read-event-char (&optional prompt)
"Get the next event."
- (let ((event (read-event prompt)))
+ (let ((event (condition-case nil
+ (read-event prompt)
+ ;; `read-event' doesn't allow arguments in Mule 2.3
+ (wrong-number-of-arguments
+ (when prompt
+ (message "%s" prompt))
+ (read-event)))))
;; should be gnus-characterp, but this can't be called in XEmacs anyway
(cons (and (numberp event) event) event)))