Pārlūkot izejas kodu

Fix void variable error introduced in d349302

Fixes #147.
Ryan C. Thompson 7 gadi atpakaļ
vecāks
revīzija
cb9aa780ad
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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