summary refs log tree commit diff
path: root/emacs.d/config
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2018-06-05 15:37:37 -0700
committerFranck Cuny <franck.cuny@gmail.com>2018-06-05 15:37:37 -0700
commitd8313d2234ef1969d5eb60efd83e80cfeba50956 (patch)
tree99365078d6c45917e1a9d033a2370b5919429ab0 /emacs.d/config
parent[vim] Add vim-airline for now (diff)
downloademacs.d-d8313d2234ef1969d5eb60efd83e80cfeba50956.tar.gz
[emacs] Some major clean up.
Switch from `(require)` to `(load)`, which does not cause warning with flymake.

Remove `:ensure t` since it's the default.
Diffstat (limited to 'emacs.d/config')
-rw-r--r--emacs.d/config/config-lib.el2
-rw-r--r--emacs.d/config/config-package.el4
2 files changed, 2 insertions, 4 deletions
diff --git a/emacs.d/config/config-lib.el b/emacs.d/config/config-lib.el
index 5148ff7..8896d2f 100644
--- a/emacs.d/config/config-lib.el
+++ b/emacs.d/config/config-lib.el
@@ -1,5 +1,3 @@
-(require 'config-package)
-
 ;; rename a buffer
 (defun fc/rename-this-buffer-and-file ()
   "Renames current buffer and file it is visiting."
diff --git a/emacs.d/config/config-package.el b/emacs.d/config/config-package.el
index 5389c0c..1b7c6f0 100644
--- a/emacs.d/config/config-package.el
+++ b/emacs.d/config/config-package.el
@@ -1,5 +1,3 @@
-(require 'config-env)
-
 ;; where to store the packages
 (setq package-user-dir fcuny-path-emacs-elpa)
 
@@ -13,6 +11,8 @@
 (when (not (package-installed-p 'paradox))
   (package-install 'paradox))
 
+(setq paradox-github-token t)
+
 (paradox-require 'use-package)
 
 (require 'use-package)