katspaugh / ido-at-point

ido-at-point
51 stars 4 forks source link

Use ido-completion-in-region-function if available (r2) #16

Closed tarsius closed 8 years ago

tarsius commented 8 years ago
Starting with Emacs v25.1 `ido-completion-in-region-functions' (plural)
has been replaced with `ido-completion-in-region-function' (singular).

If bound, use `ido-completion-in-region-function' else fall back to
`ido-completion-in-region-functions'.

This is a fixed revision of #12, which was reported as broken in #13, and reverted in #14. This time I tested in both v24.4 and v25.0.50. Now ido-at-point-completion-in-region is also adjusted to behave differently when completion-in-region-function is defined.

katspaugh commented 8 years ago

Thanks again! :thumbsup: