]> git.eshelyaron.com Git - emacs.git/commitdiff
gnus-util.el (gnus-emacs-completing-read, gnus-iswitchb-completing-read): Use autoloa...
authorJulien Danjou <julien@danjou.info>
Tue, 5 Oct 2010 07:50:08 +0000 (07:50 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 5 Oct 2010 07:50:08 +0000 (07:50 +0000)
lisp/gnus/ChangeLog
lisp/gnus/gnus-util.el

index f378310b2b9ed90b08630801d5c2d94e29729ad4..9b7832b5cfbe26ec52b066658370fa5e59cce02c 100644 (file)
@@ -1,3 +1,8 @@
+2010-10-05  Julien Danjou  <julien@danjou.info>
+
+       * gnus-util.el (gnus-emacs-completing-read)
+       (gnus-iswitchb-completing-read): Use autoload rather than require.
+
 2010-10-05  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * gnus-util.el (gnus-completing-read-function): Exclude
index 414f1c4544079699fb1bb31b2b2201647d9caec0..5fda600348c8809fa4414138b8af26650f565782 100644 (file)
@@ -1611,16 +1611,17 @@ SPEC is a predicate specifier that contains stuff like `or', `and',
                      (mapcar 'list collection)
                      nil require-match initial-input history def)))
 
+(autoload 'ido-completing-read "ido")
 (defun gnus-ido-completing-read (prompt collection &optional require-match
                                         initial-input history def)
   "Call `ido-completing-read-function'."
-  (require 'ido)
   (ido-completing-read prompt collection nil require-match initial-input history def))
 
+
+(autoload 'iswitchb-read-buffer "iswitchb")
 (defun gnus-iswitchb-completing-read (prompt collection &optional require-match
                                             initial-input history def)
   "`iswitchb' based completing-read function."
-  (require 'iswitchb)
   (let ((iswitchb-make-buflist-hook
          (lambda ()
            (setq iswitchb-temp-buflist