diff options
author | mousebot <mousebot@riseup.net> | 2021-10-22 18:27:05 +0200 |
---|---|---|
committer | mousebot <mousebot@riseup.net> | 2021-10-22 18:27:05 +0200 |
commit | 270ed20ecb566ec06347f2d60f1720ded09792eb (patch) | |
tree | ff0e9495213d28312196aceb9ab59172be59bb20 /lisp/mastodon-search.el | |
parent | 7ba038a8c356ff7df4885485a2f4fe69e67cfc34 (diff) | |
parent | 24adbf94613d1cbeee08db896388e1d7f854a168 (diff) |
Merge branch 'develop' into imgcaching
Diffstat (limited to 'lisp/mastodon-search.el')
-rw-r--r-- | lisp/mastodon-search.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mastodon-search.el b/lisp/mastodon-search.el index 40f134d..ccac5e6 100644 --- a/lisp/mastodon-search.el +++ b/lisp/mastodon-search.el @@ -42,6 +42,7 @@ (defvar mastodon-instance-url) (defvar mastodon-tl--link-keymap) (defvar mastodon-http--timeout) +(defvar mastodon-toot--enable-completion-for-mentions) ;; functions for company completion of mentions in mastodon-toot @@ -55,7 +56,7 @@ Returns a nested list containing user handle, display name, and URL." (interactive "sSearch mastodon for: ") (let* ((url (format "%s/api/v1/accounts/search" mastodon-instance-url)) - (buffer (format "*mastodon-search-%s*" query)) + ;; (buffer (format "*mastodon-search-%s*" query)) (response (if (equal mastodon-toot--enable-completion-for-mentions "followers") (mastodon-http--get-search-json url query "following=true") (mastodon-http--get-search-json url query)))) |