From 26042331b4424ba3721d42970e7cafe741f96423 Mon Sep 17 00:00:00 2001 From: bd Date: Fri, 8 Nov 2024 23:53:08 -0500 Subject: Self-created scratch has proper local vars, Update RSS preferences --- .config/emacs/modules/bd--notes.el | 2 ++ .config/emacs/modules/bd--rss.el | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to '.config/emacs') diff --git a/.config/emacs/modules/bd--notes.el b/.config/emacs/modules/bd--notes.el index f4f9677..80d0a8c 100644 --- a/.config/emacs/modules/bd--notes.el +++ b/.config/emacs/modules/bd--notes.el @@ -24,10 +24,12 @@ then pastes the active region." (insert (format "\n\n%s" contents))) (current-buffer))))) (keymap-global-set "C-c s" #'bd/send-to-scratch) +;; default *scratch* must have var set (add-hook 'emacs-startup-hook (lambda () (with-current-buffer "*scratch*" (setq-local scratch-buffer t)))) +(advice-add 'scratch-buffer :after (lambda () (setq-local scratch-buffer t))) (use-package denote :hook diff --git a/.config/emacs/modules/bd--rss.el b/.config/emacs/modules/bd--rss.el index 0c9009f..bb97622 100644 --- a/.config/emacs/modules/bd--rss.el +++ b/.config/emacs/modules/bd--rss.el @@ -14,13 +14,11 @@ ("operationnull blog" "https://operationnull.com/atom.xml" nil nil nil) ("Parabola GNU/Linux-libre" "https://www.parabola.nu/feeds/news/" nil nil nil) ("suckless.org news" "https://suckless.org/atom.xml" nil nil nil) - ("Mental Outlaw" "https://vid.puffyan.us/feed/channel/UC7YOGHUfC1Tb6E4pudI9STA" nil nil nil) - ("Luke Smith" "https://vid.puffyan.us/feed/channel/UC2eYFnH61tmytImy1mTYvhA" nil nil nil) - ("Protesilaos Stravrou" "https://vid.puffyan.us/feed/channel/UC0uTPqBCFIpZxlz_Lv1tk_g" nil nil nil))) + ("Protesilaos Stravrou" "https://vid.puffyan.us/feed/channel/UC0uTPqBCFIpZxlz_Lv1tk_g" nil nil nil))) (newsticker-groups '("Feeds" ("READING" "James Enge Mastodon") ("TECH" "Parabola GNU/Linux-libre" "suckless.org news" "operationnull blog") - ("VIDEO" "Mental Outlaw" "Luke Smith" "Protesilaos Stravrou")))) + ("VIDEO" "Protesilaos Stravrou")))) (provide 'bd--rss) -- cgit v1.2.3