[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs doesn't see the most recent version of Company Mode hosted on
Re: Emacs doesn't see the most recent version of Company Mode hosted on Elpa
Thu, 18 May 2017 19:14:04 +0000
On Thu, May 18, 2017 at 1:21 AM <address@hidden> wrote:
> (defvar package-enable-at-startup nil)
> (require 'package)
> (add-to-list 'package-archives '("melpa-stable" .
> (add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t)
> (setq package-user-dir (expand-file-name "~/elpa/"))
You need to setq the package-user-dir *before* calling (require 'package).
Otherwise emacs will first create the elpa/ dir at the default location at
the time of requiring.
In addition, simply delete the archives/ dir inside package-user-dir; emacs
will just rebuild that from scratch without complaining.
Then finally restart emacs and then see if the issue gets resolved.
Re: Emacs doesn't see the most recent version of Company Mode hosted on Elpa, egarrulo, 2017/05/18