aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2023-11-06 20:01:21 +0100
committermarty hiatt <martianhiatus@riseup.net>2023-11-06 20:01:21 +0100
commit406d87cc7ad075a2c1cc2044e151eba7d8110191 (patch)
tree40a2d886045cc33ff3019c4fc9f0db1795335b40 /lisp
parentaa0a2c08f062331b914999e6b04282ccdc8c5a11 (diff)
display-media-p var > defcustom
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-tl.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 589f4ed..db185d6 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -119,6 +119,10 @@ By default fixed width fonts are used."
:type '(boolean :tag "Enable using proportional rather than fixed \
width fonts when rendering HTML text"))
+(defcustom mastodon-tl--display-media-p t
+ "A boolean value stating whether to show media in timelines."
+ :type 'boolean)
+
(defcustom mastodon-tl--display-caption-not-url-when-no-media t
"Display an image's caption rather than URL.
Only has an effect when `mastodon-tl--display-media-p' is set to
@@ -200,9 +204,6 @@ If nil `(point-min)' is used instead.")
(defvar-local mastodon-tl--after-update-marker nil
"Marker defining the position of point after the update is done.")
-(defvar mastodon-tl--display-media-p t
- "A boolean value stating whether to show media in timelines.")
-
(defvar-local mastodon-tl--timestamp-next-update nil
"The timestamp when the buffer should next be scanned to update the timestamps.")