diff options
author | Alexander Griffith <griffitaj@gmail.com> | 2017-04-24 02:44:24 -0400 |
---|---|---|
committer | Johnson Denen <johnson.denen@gmail.com> | 2017-04-24 23:18:59 -0400 |
commit | 6459f187970db82528d1be0eb0dc2c05f38dc8ae (patch) | |
tree | 08ee4e49191c1859cc32587de1e0b4baa9cb9e67 /lisp/mastodon-tl.el | |
parent | bfc9f6217ba414b9f376d5032a4a12118ba72b2a (diff) |
Fixed #41, inline images
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r-- | lisp/mastodon-tl.el | 8 |
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." |