Browse Source

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 years ago
parent
commit
ff90deb410
1 changed files with 5 additions and 1 deletions
  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