[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using use-package

From: Rusi
Subject: Re: using use-package
Date: Sat, 8 Aug 2015 19:43:42 -0700 (PDT)
User-agent: G2/1.0

On Sunday, August 9, 2015 at 4:54:39 AM UTC+5:30, Stefan Monnier wrote:
> > Putting in the core is rather some distance from promoting as the "one
> > true way"
> FWIW, lots of use-package is designed to work around flaws in packages.
> E.g. the :load-path thingy should never be necessary since the package's
> own autoloads should already take care of that.
> Or to take another example from
>    (use-package foo
>      :init
>      (setq foo-variable t)
>      :config
>      (foo-mode 1))
> For any properly written foo-mode, the above can be replaced with
>      (setq foo-variable t)
>      (foo-mode 1)
> and it should work just as well.

Are you serious Stefan?

Here's a 3-line init:

(add-to-list 'package-archives
             '("melpa" . "";))

Start emacs -Q with that and I get:
Symbol's value as variable is void: package-archives

Precede by a (require 'package) and error vanishes

reply via email to

[Prev in Thread] Current Thread [Next in Thread]