minor fixes to make it work from a fresh package-install

(though I suppose the melpa recipe also needs to mention dash?)
That feels like a better solution to me. It's at least less mysterious.


On Fri, Aug 22, 2014 at 12:59 PM, Kevin Brubeck Unhammer <
notifications@github.com> wrote:

> In prosjekt/prosjekt.el:
>
> > @@ -419,11 +420,12 @@ and b) matches no pattern in IGNORES"
> >  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> >  ;; global config-related functionality
> >
> > -(defmacro prosjekt-with-cfg (&rest body)
> > -  "Load the global config, bind it to `cfg`, run BODY, and save the global config."
> > -  `(let ((cfg (prosjekt-cfg-load)))
> > -     (progn ,@body)
> > -     (prosjekt-cfg-save cfg)))
> > +(eval-when-compile
>
> Hmm, I think an alternative is to simply move the macros to the top of the
> file.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/abingham/prosjekt/pull/68/files#r16592118>.
>