浏览代码

Explain the whitelist operation better

In particular, explicitly explain what happens when the whitelist is
nil.
Ryan C. Thompson 8 年之前
父节点
当前提交
7c69c9006e
共有 1 个文件被更改,包括 8 次插入4 次删除
  1. 8 4
      ido-completing-read+.el

+ 8 - 4
ido-completing-read+.el

@@ -252,11 +252,15 @@ regular expressions, only name-based matching is possible."
   nil
   "Functions & commands for which ido-cr+ should be enabled.
 
+If this variable is nil, the whitelist will not be used, and
+ido-cr+ will be allowed in all functions/commands not listed in
+`ido-cr+-function-backlist'.
+
 If this variable is non-nil, ido-cr+'s whitelisting mode will be
-enabled, and will be disabled for all functions unless they match
-one of the entries. Matching is done in the same manner as
-`ido-cr+-function-blacklist', and blacklisting takes precedence
-over whitelisting."
+enabled, and ido-cr+ will be disabled for *all* functions unless
+they match one of the entries. Matching is done in the same
+manner as `ido-cr+-function-blacklist', and blacklisting takes
+precedence over whitelisting."
   :group 'ido-completing-read-plus
   :type '(repeat (choice (symbol :tag "Function or command name")
                          (string :tag "Regexp"))))