Created
May 6, 2026 04:39
-
-
Save MasWag/d56b843ab2986399db2920992e173a42 to your computer and use it in GitHub Desktop.
Personal extension of elfeed-show.el
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;;; 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