Skip to content

Commit

Permalink
Pass pred onto test/try-completion
Browse files Browse the repository at this point in the history
  • Loading branch information
jdtsmith committed Sep 4, 2021
1 parent ebda0b3 commit 16446e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eglot.el
Original file line number Diff line number Diff line change
Expand Up @@ -2358,10 +2358,10 @@ is not active."
(cond
((eq action 'metadata) metadata) ; metadata
((eq action 'lambda) ; test-completion
(test-completion probe (funcall proxies)))
(test-completion probe (funcall proxies) pred))
((eq (car-safe action) 'boundaries) nil) ; boundaries
((null action) ; try-completion
(try-completion probe (funcall proxies)))
(try-completion probe (funcall proxies) pred))
((eq action t) ; all-completions
(all-completions "" (funcall proxies)
(lambda (cand)
Expand Down

0 comments on commit 16446e5

Please sign in to comment.