diff options
author | mms <michal@sapka.me> | 2024-02-29 23:50:42 +0100 |
---|---|---|
committer | mms <michal@sapka.me> | 2024-02-29 23:51:03 +0100 |
commit | 8aeb088deb019be7791c984ff812a053641ff4a2 (patch) | |
tree | d3901ff0e06786444e26923117dcb55560361680 | |
parent | 4d25769af7239fd5f1e541b910e20fd10a3a6b46 (diff) |
feat: links
-rw-r--r-- | mms-misc-rss.org | 3 | ||||
-rw-r--r-- | mms-misc.org | 18 |
2 files changed, 14 insertions, 7 deletions
diff --git a/mms-misc-rss.org b/mms-misc-rss.org index eef45f8..8c9cc19 100644 --- a/mms-misc-rss.org +++ b/mms-misc-rss.org @@ -131,6 +131,7 @@ I want to use it inside emacs *** https://howardism.org/index.xml *** https://sqrtminusone.xyz/posts/index.xml *** https://protesilaos.com/master.xml +*** https://amodernist.com/all.atom *** https://pragmaticemacs.wordpress.com/feed/ ** Entertainment *** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCrTNhL_yO3tPTdQ5XgmmWjA][RLM]] @@ -142,3 +143,5 @@ I want to use it inside emacs *** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCJ6KZTTnkE-s2XFJJmoTAkw][Accursed Farms]] *** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCTxyMIg98qejFPxm1t1-IxQ][Megumi Imai]] *** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCi8C7TNs2ohrc6hnRQ5Sn2w][Programmers are also human]] +** Podcasts +*** https://2.5admins.com/feed/podcast diff --git a/mms-misc.org b/mms-misc.org index 2ec07d1..1b7b7f2 100644 --- a/mms-misc.org +++ b/mms-misc.org @@ -127,15 +127,19 @@ First, let's be able to run Youtube inside emacs Then, let's create linkhandler to pass the link to the correct handler. #+begin_src emacs-lisp - (defun mms-open-link-under-point () - (interactive) - (setq url (thing-at-point 'url)) - (cond - ((string-match "youtube.com" url) (yeetube-search url)) - (t (eww url))) - ) + (defun mms-open-link-under-point () + (interactive) + (let ((url (thing-at-point 'url)))) + (cond + ((string-match "youtube.com" url) (yeetube-search url)) + (t (eww url))) + ) #+end_src +#+RESULTS: +: mms-open-link-under-point + + And I want to have as =leader - enter - enter= #+begin_src emacs-lisp |