diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-05-06 14:47:31 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-05-06 14:47:31 +0200 |
commit | 7ca70346ac60436c359a754de56842fdc7280fe3 (patch) | |
tree | 64bc358ea37bb2773d5d4b3f3cef1db70adeab72 /lisp/mastodon.el | |
parent | 5970c9de908fbb8009de86a2371578de231b3cee (diff) |
Revert "with-mastodon-buffer macro"
This reverts commit 51f8b782ac6721939e20eca459fe88eb4304857c.
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r-- | lisp/mastodon.el | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el index 6b6ab9c..e181786 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -256,17 +256,6 @@ mastodon.el needs to be re-loaded for this to be correctly set.") "Face used for reply text in toot compose buffer. See `mastodon-toot-display-orig-in-reply-buffer'.") -(defmacro with-mastodon-buffer (buffer &rest body) - "Evaluate BODY in a new `mastodon-mode' buffer called BUFFER." - (declare (debug 'body)) - `(with-current-buffer (get-buffer-create ,buffer) - (let ((inhibit-read-only t)) - (erase-buffer) - (switch-to-buffer ,buffer) - (mastodon-mode) - ,@body))) - - ;;;###autoload (defun mastodon () "Connect Mastodon client to `mastodon-instance-url' instance." |