Skip to content

Instantly share code, notes, and snippets.

@MasWag
Created May 6, 2026 04:39
Show Gist options
  • Select an option

  • Save MasWag/d56b843ab2986399db2920992e173a42 to your computer and use it in GitHub Desktop.

Select an option

Save MasWag/d56b843ab2986399db2920992e173a42 to your computer and use it in GitHub Desktop.
Personal extension of elfeed-show.el
;;; my-elfeed-show.el --- display feed entries -*- lexical-binding: t; -*-
;; This is free and unencumbered software released into the public domain.
;;; Code:
(defun elfeed-show-add-link-to-playlist ()
"Add link to current EMMS playlist."
(interactive)
(require 'emms) ;; optional
(with-no-warnings ;; due to lazy (require )
(emms-add-url (elfeed-entry-link elfeed-show-entry))))
(defun elfeed-show-play-link ()
"Play link from current entry using EMMS."
(interactive)
(elfeed-show-add-link-to-playlist)
(with-no-warnings
(with-current-emms-playlist
(save-excursion
(emms-playlist-last)
(emms-playlist-mode-play-current-track)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment