summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-06-08 20:54:38 -0400
committerKyle Meyer <kyle@kyleam.com>2015-06-08 20:54:38 -0400
commitac2b6e4585a2b9a32d0908d0092af3b005f40e65 (patch)
treea328eb583fefb9f7e9312dc61d3e52d5a54e5f3a
parentf86e0c5cba0028474e35fa218e972958d2673dd6 (diff)
downloademacs.d-ac2b6e4585a2b9a32d0908d0092af3b005f40e65.tar.gz
Switch shr-save-contents key
-rw-r--r--lisp/init-mail.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/init-mail.el b/lisp/init-mail.el
index 40d46dd..725a5bd 100644
--- a/lisp/init-mail.el
+++ b/lisp/init-mail.el
@@ -175,6 +175,11 @@ to group buffer instead of moving to next group."
(define-key gnus-summary-mode-map "j" 'km/gnus-avy-goto-subword-and-select)
(define-key gnus-summary-mode-map "o" 'km/ace-link-widget)
+;; Allow `km/ace-link-widget' binding to work even when on shr widget.
+(after 'shr
+ (define-key shr-map "o" nil)
+ (define-key shr-map "O" 'shr-save-contents))
+
(define-key gnus-article-mode-map
(kbd "C-c l") 'km/gnus-follow-last-message-link)
(define-key gnus-article-mode-map "e" 'km/shr-browse-url-and-goto-next)