aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-media.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mastodon-media.el')
-rw-r--r--lisp/mastodon-media.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mastodon-media.el b/lisp/mastodon-media.el
index 40a8f21..1b8e786 100644
--- a/lisp/mastodon-media.el
+++ b/lisp/mastodon-media.el
@@ -57,8 +57,8 @@ Returns the cons of (`start' . `end') points of that line or nil no
more media links were found."
(let ((foundp (search-forward-regexp "Media_Link::" nil t)))
(when foundp
- (let ((start (progn (move-beginning-of-line '()) (point)))
- (end (progn (move-end-of-line '()) (point))))
+ (let ((start (progn (move-beginning-of-line nil) (point)))
+ (end (progn (move-end-of-line nil) (point))))
(cons start end)))))
(defun mastodon-media--valid-link-p (link)