summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/gnus-util.el5
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index f378310b2b9..9b7832b5cfb 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -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
diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el
index 414f1c45440..5fda600348c 100644
--- a/lisp/gnus/gnus-util.el
+++ b/lisp/gnus/gnus-util.el
@@ -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