Stop `gnus-xmas-read-event-char' from logging prompt string.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 13 Jul 2010 02:18:25 +0000 (02:18 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 13 Jul 2010 02:18:25 +0000 (02:18 +0000)
2010-07-13  Katsumi Yamaoka  <yamaoka@jpl.org>
 * gnus-xmas.el (gnus-xmas-read-event-char): Use display-message with
 `no-log' instead of message not to log prompt string.

lisp/ChangeLog
lisp/gnus-xmas.el

index 18a8b6c..faa0f1a 100644 (file)
@@ -1,3 +1,8 @@
+2010-07-13  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-xmas.el (gnus-xmas-read-event-char): Use display-message with
+       `no-log' instead of message not to log prompt string.
+
 2010-06-22  Mark A. Hershberger  <mah@everybody.org>
 
        * mm-url.el (mm-url-encode-multipart-form-data): New function to handle
index d7871ff..59fef84 100644 (file)
@@ -341,7 +341,7 @@ call it with the value of the `gnus-data' text property."
 (defun gnus-xmas-read-event-char (&optional prompt)
   "Get the next event."
   (when prompt
-    (message "%s" prompt))
+    (display-message 'no-log (format "%s" prompt)))
   (let ((event (next-command-event)))
     (sit-for 0)
     ;; We junk all non-key events.  Is this naughty?