ソースを参照

Revert "Add a workaround for #146"

This fix is less than ideal because it assumes that flx-ido is always
enabled if it is loaded.

This reverts commit 40e8a4fc054c56d207c3399a32a70cfccfd0976b.
Ryan C. Thompson 7 年 前
コミット
2594820493
1 ファイル変更0 行追加11 行削除
  1. 0 11
      ido-completing-read+.el

+ 0 - 11
ido-completing-read+.el

@@ -1157,17 +1157,6 @@ blacklist was modified."
 
 (ido-cr+-maybe-update-blacklist)
 
-;; Temporary fix for #146, copied from:
-;; https://github.com/kurnevsky/dotfiles/commit/b4daed5ea3d554b816767dbb1284bf5ea7e82de9
-(when (and (version<= "26" emacs-version) (fboundp 'add-variable-watcher))
-  (add-variable-watcher
-   'ido-cr+-dynamic-collection
-   (lambda (_symbol newval _operation _where)
-     (when (fboundp 'flx-ido-mode)
-       (if newval
-           (flx-ido-mode 0)
-         (flx-ido-mode 1))))))
-
 (provide 'ido-completing-read+)
 
 ;;; ido-completing-read+.el ends here