emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/mastodon 0bd2bea47d 27/52: override shr-linkmap 'u' bindin


From: ELPA Syncer
Subject: [nongnu] elpa/mastodon 0bd2bea47d 27/52: override shr-linkmap 'u' binding, to update. 'w' is copy-url already
Date: Mon, 30 Oct 2023 16:01:26 -0400 (EDT)

branch: elpa/mastodon
commit 0bd2bea47d41545e0b8b6bcbaaa9fca06d202d19
Author: marty hiatt <martianhiatus [a t] riseup [d o t] net>
Commit: marty hiatt <martianhiatus [a t] riseup [d o t] net>

    override shr-linkmap 'u' binding, to update. 'w' is copy-url already
---
 lisp/mastodon-tl.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index e25b57ca2c..3e4e31ed8f 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -237,6 +237,9 @@ etc.")
     (define-key map [remap shr-previous-link] #'mastodon-tl--previous-tab-item)
     ;; keep new my-profile binding; shr 'O' doesn't work here anyway
     (define-key map (kbd "O") #'mastodon-profile--my-profile)
+    ;; remove shr's u binding, as it the maybe-probe-and-copy-url
+    ;; is already bound to w also
+    (define-key map (kbd "u") #'mastodon-tl--update)
     (define-key map [remap shr-browse-url] #'mastodon-url-lookup)
     map)
   "The keymap to be set for shr.el generated links that are not images.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]