changeset 111319:a4dbd8297e0f

* lisp/gnus/gnus-util.el: Comment.
author Glenn Morris <rgm@gnu.org>
date Mon, 01 Nov 2010 21:06:44 -0700
parents 74b8ba23403f
children 02f27f970003
files lisp/gnus/gnus-util.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/gnus-util.el	Mon Nov 01 22:30:50 2010 -0400
+++ b/lisp/gnus/gnus-util.el	Mon Nov 01 21:06:44 2010 -0700
@@ -1658,6 +1658,8 @@
 (defun gnus-iswitchb-completing-read (prompt collection &optional require-match
                                             initial-input history def)
   "`iswitchb' based completing-read function."
+  ;; Make sure iswitchb is loaded before we let-bind its variables.
+  ;; If it is loaded inside the let, variables can become unbound afterwards.
   (require 'iswitchb)
   (let ((iswitchb-make-buflist-hook
          (lambda ()