Let's say I'm following the master branch of Org mode. So, I have it
under ~/src/org-mode
add tell my Emacs to load it by adding
"~/src/org-mode/lisp"
to load-path
.
I use ELPA and MELPA to install some Org mode extensions from there. Unfortunately, package.el installs another version of Org mode because the extensions, obviously, depend on Org mode proper.
Is there any way to tell the package manager that I already have Org mode so that it does't have to install another version of it? Something like
(setq package-locally-installed '((package1 . version) (package2 . version))
BTW, I don't have any problem having multiple version of packages. My setup seems to work fine; ~/src/org-mode
shadows the other. My question is to tell package.el not to install packages I have already.
There is kind of the same question package-install doesn't pick up dependencies that are already in site-lisp, but the discussion is more like fixing helm installation but not to tell.
Another related question: How to install package without install dependencies through "package"?, which handles the issue by using a local repo. It seems to work but it'd be nice if package.el already have some variable I can set.