branch: elpa/mastodon
commit f0ed6bd68df59d7877094849ed1d794bfbe72b57
Author: marty hiatt <[email protected]>
Commit: marty hiatt <[email protected]>

    fix masto inspect function.
---
 lisp/mastodon-inspect.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lisp/mastodon-inspect.el b/lisp/mastodon-inspect.el
index 4981943f2b..779598984a 100644
--- a/lisp/mastodon-inspect.el
+++ b/lisp/mastodon-inspect.el
@@ -51,10 +51,10 @@
   (erase-buffer)
   (let ((print-level nil)
         (print-length nil))
-    (insert (pp json t)))
-  (goto-char (point-min))
-  (emacs-lisp-mode)
-  (message "success"))
+    (pp json (current-buffer))
+    (goto-char (point-min))
+    (emacs-lisp-mode)
+    (message "success")))
 
 (defun mastodon-inspect--toot ()
   "Find next toot and dump its meta data into new buffer."

Reply via email to