aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authorAlexander Griffith <griffitaj@gmail.com>2017-04-24 02:44:24 -0400
committerJohnson Denen <johnson.denen@gmail.com>2017-04-24 23:18:59 -0400
commit6459f187970db82528d1be0eb0dc2c05f38dc8ae (patch)
tree08ee4e49191c1859cc32587de1e0b4baa9cb9e67 /lisp/mastodon-tl.el
parentbfc9f6217ba414b9f376d5032a4a12118ba72b2a (diff)
Fixed #41, inline images
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el8
1 files changed, 5 insertions, 3 deletions
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."