Set paradox token from gh-auth-get-oauth-token

This commit is contained in:
Ivan Malison 2016-06-19 21:25:33 -07:00
parent a6ecb636e8
commit a64f6cbcaa

View File

@ -847,10 +847,13 @@ Sets environment variables by starting a shell
*** paradox *** paradox
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package paradox (use-package paradox
:commands paradox-upgrade-packages paradox-list-packages :defer 10
:commands (paradox-upgrade-packages paradox-list-packages)
:config :config
(progn (progn
(setq paradox-execute-asynchronously t))) (require 'gh)
(setq paradox-execute-asynchronously t
paradox-github-token (gh-auth-get-oauth-token))))
#+END_SRC #+END_SRC
*** diminish *** diminish
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp