Quellcode durchsuchen

Fix dot-prefix workaround

Now it only activates if ido-enable-dot-prefix is enabled.
Ryan C. Thompson vor 8 Jahren
Ursprung
Commit
2303906f5b
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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")))