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.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/mastodon-media.el b/lisp/mastodon-media.el
index 9dc8517..8f8937c 100644
--- a/lisp/mastodon-media.el
+++ b/lisp/mastodon-media.el
@@ -500,9 +500,8 @@ SENSITIVE is a flag from the item's JSON data."
(substitute-command-keys
(concat "\\`RET'/\\`i': load full image (prefix: copy URL), \\`+'/\\`-': zoom,\
\\`r': rotate, \\`o': save preview"
- (if (not (eq sensitive :json-false))
- ", \\`S': toggle sensitive media"
- ""))))
+ (when (not (eq sensitive :json-false))
+ ", \\`S': toggle sensitive media"))))
(help-echo (if caption
(concat help-echo-base
"\n\"" caption "\"")