From c7446f48e5e8378a2240959dbf7fcd66a7de44e7 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Sat, 6 May 2023 14:40:19 +0200 Subject: with-masto-buffer declare --- lisp/mastodon.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lisp/mastodon.el') 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." -- cgit v1.2.3