From 6459f187970db82528d1be0eb0dc2c05f38dc8ae Mon Sep 17 00:00:00 2001 From: Alexander Griffith Date: Mon, 24 Apr 2017 02:44:24 -0400 Subject: Fixed #41, inline images --- lisp/mastodon-tl.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lisp/mastodon-tl.el') diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index 2d323b9..385580e 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -28,8 +28,9 @@ ;;; Code: -(require 'mastodon-http nil t) -(require 'mastodon-toot nil t) +(require 'mastodon-http) +(require 'mastodon-toot) +(require 'mastodon-media) (defgroup mastodon-tl nil "Timelines in Mastodon." @@ -203,7 +204,8 @@ also render the html" (defun mastodon-tl--timeline (toots) "Display each toot in TOOTS." (mapcar 'mastodon-tl--toot toots) - (replace-regexp "\n\n\n | " "\n | " nil (point-min) (point-max))) + (replace-regexp "\n\n\n | " "\n | " nil (point-min) (point-max)) + (mastodon-media--inline-images)) (defun mastodon-tl--more-json (timeline id) "Return JSON for TIMELINE before ID." -- cgit v1.2.3