elfeed: Fix handler to match "youtube" in domain only

master
Pierre Neidhardt 2018-07-30 09:44:40 +02:00
parent a054f89460
commit 688d5b8ed7
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@
(add-hook 'eww-after-render-hook 'eww-readable nil t)))
(defvar ambrevar/elfeed-visit-patterns
'(("youtu\\.?be" . ambrevar/elfeed-play-with-mpv)
'(("//[^/]*youtu\\.?be" . ambrevar/elfeed-play-with-mpv)
("phoronix" . ambrevar/elfeed-open-with-eww))
"List of (regexps . function) to match against elfeed entry link to know
whether how to visit the link.")