all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

* 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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.