aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r--lisp/mastodon.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index 36cb058..1fcb234 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -261,7 +261,8 @@ See `mastodon-toot-display-orig-in-reply-buffer'.")
MODE-FUN is called to set the major mode.
OTHER-WINDOW means call `switch-to-buffer-other-window' rather
than `switch-to-buffer'."
- (declare (debug 'body))
+ (declare (debug t)
+ (indent defun))
`(with-current-buffer (get-buffer-create ,buffer)
(let ((inhibit-read-only t))
(erase-buffer)
@@ -271,6 +272,7 @@ than `switch-to-buffer'."
(funcall ,mode-fun)
,@body)))
+
;;;###autoload
(defun mastodon ()
"Connect Mastodon client to `mastodon-instance-url' instance."