Просмотр исходного кода

Fix void variable error introduced in d349302

Fixes #147.
Ryan C. Thompson 7 лет назад
Родитель
Сommit
cb9aa780ad
1 измененных файлов с 1 добавлено и 1 удалено
  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