unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: john@ankarstrom.se (John Ankarström)
To: help-gnu-emacs@gnu.org
Subject: Re: Mark package as installed when use git
Date: Mon, 12 Jun 2017 23:59:59 +0700	[thread overview]
Message-ID: <m1poe95egg.fsf@ankarstrom.se> (raw)
In-Reply-To: <877f0hs64f.fsf@kaffanke.at> (Martin's message of "Mon, 12 Jun 2017 15:11:28 +0200")

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	other threads:[~2017-06-12 16:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-12 13:11 Mark package as installed when use git Martin
2017-06-12 16:59 ` John Ankarström [this message]
2017-06-12 17:03   ` John Ankarström
2017-06-12 18:24     ` Martin
2017-06-13 10:14       ` John Ankarström
2017-06-13 11:20         ` Martin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1poe95egg.fsf@ankarstrom.se \
    --to=john@ankarstrom.se \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).