diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-05-06 14:40:19 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-05-06 14:40:19 +0200 |
commit | c7446f48e5e8378a2240959dbf7fcd66a7de44e7 (patch) | |
tree | cce2ec48c53c022b8e77f6234e69dcc07119296b /lisp | |
parent | a411879809215d09520e3a7c21d3f07a3f2b5272 (diff) |
with-masto-buffer declare
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mastodon.el | 4 |
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." |