浏览代码

Blacklist ffap functions

ffap shouldn't be triggering ido-cr+, since it's (usually) doing file
completion. However, it does so by calling "completing-read" with a
custom completion function, which needs to be blacklisted.

Fixes #159.
Ryan C. Thompson 6 年之前
父节点
当前提交
ff90deb410
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      ido-completing-read+.el

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

@@ -296,7 +296,11 @@ disable fallback based on collection size, set this to nil."
     ;; https://github.com/DarwinAwardWinner/ido-completing-read-plus/issues/44
     tmm-prompt
     ;; https://github.com/DarwinAwardWinner/ido-completing-read-plus/issues/156
-    org-tags-completion-function)
+    org-tags-completion-function
+    ;; https://github.com/DarwinAwardWinner/ido-completing-read-plus/issues/159
+    ffap-read-file-or-url
+    ffap-read-file-or-url-internal
+    )
   "Functions & commands for which ido-cr+ should be disabled.
 
 Each entry can be either a symbol or a string. A symbol means to