From 56426420c03435746bf9c82d086d8219f47f1a10 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 15 Feb 2023 03:34:42 +0200 Subject: emacs: Hook elfeed with elfeed/goodies, update exwm keys --- .emacs.d/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.emacs.d/init.el') diff --git a/.emacs.d/init.el b/.emacs.d/init.el index cf23615..41069ab 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -489,7 +489,7 @@ The region is BEG and until END" The environment variable OPENAI_API_KEY is used as your API key You can register an account here https://beta.openai.com/docs/introduction/key-concepts" - (let* ((api-key (getenv secret-api)) + (let* ((api-key sercret-api) (url-request-method (encode-coding-string "POST" 'us-ascii)) (url-request-extra-headers `(("Content-Type" . "application/json") ("Authorization" . ,(format "Bearer %s" api-key)))) @@ -880,6 +880,7 @@ you have the correctly set the OPENAI_API_KEY variable" ))) (setq elfeed-goodies/entry-pane-size 0.5) +(add-hook 'elfeed-goodies/setup 'elfeed) ;;Add pdf-isearch-minor-mode hook, otherwise isearch will be buggy ;;Darkmode hook, cause I don't want color or light in my life, I'm a vampire. -- cgit v1.2.3