Created
February 1, 2019 23:01
-
-
Save k-f-/fbd0458876de6127cf9836b31bd80190 to your computer and use it in GitHub Desktop.
offending function
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
| ;; code to add and remove a starred tag to elfeed article | |
| ;; based on http://matt.hackinghistory.ca/2015/11/22/elfeed/ | |
| ;; http://pragmaticemacs.com/emacs/star-and-unstar-articles-in-elfeed/#disqus_thread | |
| ;; more concise version from user: Galrog. Slick. | |
| (defalias 'elfeed-toggle-star | |
| (elfeed-expose #'elfeed-search-toggle-all 'star)) | |
| (eval-after-load 'elfeed-search | |
| '(define-key elfeed-search-mode-map (kbd "m") 'elfeed-toggle-star)) | |
| ;; tried *, but m requires one less hand and is closer to the "n" key which were using constantly in this mode. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment