aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authorAlexander Griffith <griffitaj@gmail.com>2018-03-01 21:32:00 -0500
committerAlexander Griffith <griffitaj@gmail.com>2018-03-01 21:32:00 -0500
commit3eae90ac03aea4c609f2cf2660b85338a33d9f89 (patch)
treeebc64bee24db9c04a9c255815a75ab38f2edd620 /lisp/mastodon-tl.el
parentf9f683f4abb3ef7ddf3f90c4bb216153bb05d23d (diff)
Fixes buffer switching issue and closes issue #158
- Small logic fix in mastodon-tl--media to remove redundant newline - Replaced switch-to-buffer with with-current-buffer in mastodon-media--process-image-response - Squashed with merge to develop
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index dbc815f..2f26b55 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -297,7 +297,7 @@ also render the html"
preview-url)
(concat "Media::" preview-url "\n"))))
media-attachements "")))
- (if (not (and (not mastodon-tl--display-media-p)
+ (if (not (and mastodon-tl--display-media-p
(equal media-string "")))
(concat "\n" media-string) "")))