Parcourir la source

Fix void variable error introduced in d349302

Fixes #147.
Ryan C. Thompson il y a 7 ans
Parent
commit
cb9aa780ad
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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.
          ;; Temporary workaround for #146.
          (flx-ido-mode
-          (and flx-ido-mode
+          (and (bound-and-true-p flx-ido-mode)
                (or (version< emacs-version "26")
                    (not ido-cr+-dynamic-collection))))
          ;; If the whitelist is empty, everything is whitelisted