summaryrefslogtreecommitdiff
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el3
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.