From 79d6faf3f551741af1d562cc372dfe84dc3d1e91 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 27 Jan 2024 12:15:43 +0400 Subject: [PATCH] AHJIASDHJKSDHA --- config/emacs/emacs.org | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index 8b70d7fc..037c622b 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -1227,6 +1227,7 @@ Dired is a built-in file manager for Emacs that does some pretty amazing things! #+end_src ** RSS Reader #+begin_src emacs-lisp + (when (eq system-type 'gnu/linux) (use-package elfeed :config (setq elfeed-use-curl t) @@ -1245,8 +1246,8 @@ Dired is a built-in file manager for Emacs that does some pretty amazing things! ;; setup feeds (setq elfeed-protocol-feeds '(("fever+https://sako@rss.sako.box" - :api-url "https://rss.sako.box/fever/" - :use-authinfo t))) + :api-url "https://rss.sako.box/fever/" + :use-authinfo t))) ;; enable elfeed-protocol (setq elfeed-protocol-enabled-protocols '(fever)) @@ -1254,14 +1255,15 @@ Dired is a built-in file manager for Emacs that does some pretty amazing things! ) (let* ((proto-id "fever+https://sako@rss.sako.box") - (last-id (elfeed-protocol-fever-get-update-mark proto-id 'update))) + (last-id (elfeed-protocol-fever-get-update-mark proto-id 'update))) (elfeed-protocol-fever-set-update-mark proto-id 'update (- last-id 1000))) (run-at-time 300 300 - (lambda () (when (= elfeed-curl-queue-active 0) - (elfeed-update)))) + (lambda () (when (= elfeed-curl-queue-active 0) + (elfeed-update)))) ;; (add-hook 'emacs-startup-hook (elfeed-update)) + ) #+end_src ** Telegram