Skip to content

Commit

Permalink
Add snippet to fix package installation.
Browse files Browse the repository at this point in the history
FossilOrigin-Name: bb96f619cd56b46b87c37de348e2c8de5b24b8c6
  • Loading branch information
jaccarmac committed Aug 12, 2015
1 parent fdcdbca commit a008786
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dot-emacs-dot-d.org
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ Now, for some code.
(eval-buffer)))
#+END_SRC

Apparently a certain package breaks =quelpa= in certain circumstances. This
snippet fixes this problem.

#+NAME: async-bytecomp-allowed-packages
#+BEGIN_SRC emacs-lisp
(setq async-bytecomp-allowed-packages nil)
#+END_SRC

Because of the last snippet, =use-package= can be downloaded using the
=quelpa= function, but it must be loaded manually. (Manually being a
one-liner. :-)
Expand Down Expand Up @@ -403,6 +411,8 @@ Now, for some code.
#+BEGIN_SRC emacs-lisp :noweb no-export :tangle init.el :padline no
<<quelpa>>

<<async-bytecomp-allowed-packages>>

<<use-package>>

<<quse-package>>
Expand Down
2 changes: 2 additions & 0 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"https://raw.github.com/quelpa/quelpa/master/bootstrap.el")
(eval-buffer)))

(setq async-bytecomp-allowed-packages nil)

(quelpa 'use-package)
(require 'use-package)

Expand Down

0 comments on commit a008786

Please sign in to comment.