Try different syntax for this keybinding

This commit is contained in:
Jeremy Dormitzer 2021-01-19 16:06:47 -05:00
parent 62d1c03f8f
commit 4963030b81

View File

@ -4532,6 +4532,9 @@ Elfeed is a feed reader for Emacs.
(setq-default elfeed-search-filter "@6-months-ago +unread")
(add-to-list 'evil-normal-state-modes 'elfeed-search-mode)
(add-to-list 'evil-normal-state-modes 'elfeed-show-mode)
(defun elfeed-browse-url-external ()
(interactive)
(shr-browse-url t))
(setq elfeed-feeds
'(;; ("http://www.wsj.com/xml/rss/3_7085.xml" news)
;; ("https://www.wsj.com/xml/rss/3_7014.xml" news)
@ -4601,7 +4604,7 @@ Elfeed is a feed reader for Emacs.
('normal elfeed-show-mode-map [mouse-2] 'shr-browse-url)
('normal elfeed-show-mode-map "A" 'elfeed-show-add-enclosure-to-playlist)
('normal elfeed-show-mode-map "P" 'elfeed-show-play-enclosure)
('normal elfeed-show-mode-map "<M-return>" (lambda () (interactive) (shr-browse-url t))))
('normal elfeed-show-mode-map "M-RET" 'elfeed-browse-url-external))
#+END_SRC
Keybinding for opening Elfeed: