help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Mark package as installed when use git


From: John Ankarström
Subject: Re: Mark package as installed when use git
Date: Mon, 12 Jun 2017 23:59:59 +0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (darwin)

Martin <mylists@kaffanke.at> writes:

> Is there a way to avoid that? So like tell package.el that org
> is allready installed, don't check that dependency?

Quoting from the `use-package' README:

> If your package needs a directory added to the load-path in
> order to load, use :load-path.

So, the following should suffice:

> (add-to-list 'load-path (concat my-user-emacs-directory
> "contrib/org-mode/lisp"))

--8<---------------cut here---------------start------------->8---
(use-package org
  :load-path "contrib/org-mode/lisp")
--8<---------------cut here---------------end--------------->8---

Repeat that for `org-contrib' and I think it should work.

- John



reply via email to

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