Browse Source

Fix void variable error introduced in d349302

Fixes #147.
Ryan C. Thompson 7 years ago
parent
commit
cb9aa780ad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ido-completing-read+.el

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

@@ -523,7 +523,7 @@ completion for them."
          ;; Disable flx-ido for dynamic collections in Emacs 26.
          ;; Disable flx-ido for dynamic collections in Emacs 26.
          ;; Temporary workaround for #146.
          ;; Temporary workaround for #146.
          (flx-ido-mode
          (flx-ido-mode
-          (and flx-ido-mode
+          (and (bound-and-true-p flx-ido-mode)
                (or (version< emacs-version "26")
                (or (version< emacs-version "26")
                    (not ido-cr+-dynamic-collection))))
                    (not ido-cr+-dynamic-collection))))
          ;; If the whitelist is empty, everything is whitelisted
          ;; If the whitelist is empty, everything is whitelisted