From 6fc44fe225ad229500509af6a985f58c6805481d Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Sun, 31 Dec 2023 11:11:32 +0100 Subject: fix signature of make-capf so we call it right! --- lisp/mastodon-toot.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp') diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el index c26db1e..f60f314 100644 --- a/lisp/mastodon-toot.el +++ b/lisp/mastodon-toot.el @@ -1042,7 +1042,7 @@ TYPE is the candidate type, it may be :tags, :handles, or :emoji." (mastodon-search--search-accounts-query (buffer-substring-no-properties start end)))))) -(defun mastodon-toot--make-capf (regex type &optional annot-fun) +(defun mastodon-toot--make-capf (regex annot-fun type) "Build a completion backend for `completion-at-point-functions'. REGEX is the regex to match preceding text. TYPE is a keyword symbol for `mastodon-toot--fetch-completion-candidates'. -- cgit v1.2.3