ソースを参照

Fix dot-prefix workaround

Now it only activates if ido-enable-dot-prefix is enabled.
Ryan C. Thompson 8 年 前
コミット
2303906f5b
1 ファイル変更1 行追加0 行削除
  1. 1 0
      ido-completing-read+.el

+ 1 - 0
ido-completing-read+.el

@@ -205,6 +205,7 @@ completion for them."
           (setq collection (all-completions "" collection predicate))
           ;; Check for a specific bug
           (when (and (version< emacs-version "26.1")
+                     ido-enable-dot-prefix
                      (member "" collection))
             (signal 'ido-cr+-fallback
                     '("ido cannot handle the empty string as an option when `ido-enable-dot-prefix' is non-nil; see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26997")))