aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-search.el
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-10-22 13:00:04 +0200
committermousebot <mousebot@riseup.net>2021-10-22 13:00:04 +0200
commit635bf869e3f87ad182d0288f0947ae4bf842ff4d (patch)
treea03d32548bd88d7ff90ed5668df80aa683d00b61 /lisp/mastodon-search.el
parent9dbf6e52c5c9f53a5adcf54bf3f9bcdc51c1332c (diff)
flycheck, autoloads, docstrings
Diffstat (limited to 'lisp/mastodon-search.el')
-rw-r--r--lisp/mastodon-search.el3
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))))