diff options
author | Thanos Apollo <[email protected]> | 2023-02-15 03:34:42 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-02-15 03:34:42 +0200 |
commit | 56426420c03435746bf9c82d086d8219f47f1a10 (patch) | |
tree | 32313bc0efcf2dba84b246c7e910bd6c44f4d202 /.emacs.d/init.el | |
parent | 15aaa1f63390428b1ba904929b48699a97398a04 (diff) |
emacs: Hook elfeed with elfeed/goodies, update exwm keys
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r-- | .emacs.d/init.el | 3 |
1 files changed, 2 insertions, 1 deletions
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. |