Synch to No Gnus 200402240748.
[elisp/gnus.git-] / lisp / gnus-util.el
index 6bbcc70..6021b19 100644 (file)
@@ -41,7 +41,6 @@
   (defvar nnmail-pathname-coding-system))
 (eval-when-compile (require 'static))
 
-(require 'custom)
 (require 'time-date)
 (require 'netrc)
 
@@ -196,8 +195,7 @@ is slower."
   "Return the value of the header FIELD of current article."
   (save-excursion
     (save-restriction
-      (let ((case-fold-search t)
-           (inhibit-point-motion-hooks t))
+      (let ((inhibit-point-motion-hooks t))
        (nnheader-narrow-to-headers)
        (message-fetch-field field)))))
 
@@ -533,13 +531,7 @@ If N, return the Nth ancestor instead."
 
 (defun gnus-read-event-char (&optional prompt)
   "Get the next event."
-  (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)))))
+  (let ((event (read-event prompt)))
     ;; should be gnus-characterp, but this can't be called in XEmacs anyway
     (cons (and (numberp event) event) event)))