Mercurial > emacs
diff lisp/gnus/gnus-util.el @ 110773:22b487462b5a
gnus-util.el (gnus-emacs-completing-read, gnus-iswitchb-completing-read): Use autoload rather than require.
author | Katsumi Yamaoka <yamaoka@jpl.org> |
---|---|
date | Tue, 05 Oct 2010 07:50:08 +0000 |
parents | cd2496a17cf2 |
children | 9d935b7bf464 |
line wrap: on
line diff
--- a/lisp/gnus/gnus-util.el Tue Oct 05 06:36:32 2010 +0000 +++ b/lisp/gnus/gnus-util.el Tue Oct 05 07:50:08 2010 +0000 @@ -1611,16 +1611,17 @@ (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