[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/mastodon 9b1b08c9b3 02/63: img help echo: cmd keys and tog
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/mastodon 9b1b08c9b3 02/63: img help echo: cmd keys and toggle sensitive binding |
Date: |
Sun, 4 Aug 2024 04:00:23 -0400 (EDT) |
branch: elpa/mastodon
commit 9b1b08c9b32eaec12c952437a5657e78b84c25cc
Author: marty hiatt <martianhiatus@riseup.net>
Commit: marty hiatt <martianhiatus@riseup.net>
img help echo: cmd keys and toggle sensitive binding
---
lisp/mastodon-media.el | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/lisp/mastodon-media.el b/lisp/mastodon-media.el
index d14d28340f..9dc8517671 100644
--- a/lisp/mastodon-media.el
+++ b/lisp/mastodon-media.el
@@ -497,8 +497,12 @@ TYPE is the attachment's type field on the server.
CAPTION is the image caption if provided.
SENSITIVE is a flag from the item's JSON data."
(let* ((help-echo-base
- "RET/i: load full image (prefix: copy URL), +/-: zoom,\
- r: rotate, o: save preview")
+ (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"
+ ""))))
(help-echo (if caption
(concat help-echo-base
"\n\"" caption "\"")
- [nongnu] elpa/mastodon updated (a191fb5f3f -> 45903de823), ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 2d4cedbf68 01/63: readme re bookmarks, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 9b1b08c9b3 02/63: img help echo: cmd keys and toggle sensitive binding,
ELPA Syncer <=
- [nongnu] elpa/mastodon aa6b7b25be 18/63: readme re tofu, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 92e1e7b991 03/63: move/rename with-toot-item, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 8f8c461e01 20/63: wrap --thread in with-item macro, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 6e24c36e86 07/63: screenshots, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon f43ecd6bad 06/63: docstring, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 8df12b8808 15/63: update info, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon e9ddf28832 21/63: horiz-bar refactor, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 00ac9103ad 25/63: multisession var in -toot.el, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 8c4f18cca7 32/63: toot--insert-emoji: defalis -> defun., ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 3eb1c4f794 41/63: --thread: diff name for option arg to avoid macro var, ELPA Syncer, 2024/08/04