Skip to main content
added 7 characters in body; edited title
Source Link
Malabarba
  • 23.3k
  • 6
  • 81
  • 166

so Do I don't have to rename my org-mode load-path folder after every update?

I use package manager to update my packages automatically by doing package-list-packagespackage-list-packages, package-menu-mark-upgradespackage-menu-mark-upgrades, package-menu-executepackage-menu-execute. (I assume this is the easiest way to automatically update all my packages, though I don't really know.)

When I do this, org-mode winds up in a directory with a path like this: ~/Dropbox/emacs/prelude/elpa/org-20150511/

~/Dropbox/emacs/prelude/elpa/org-20150511/

I use packages that are part of contrib, so my .emacs includes these lines:

(add-to-list 'load-path "~/Dropbox/emacs/prelude/elpa/org-20150511/lisp" load-path)  
(add-to-list 'load-path "~/Dropbox/emacs/prelude/elpa/org-20150511/contrib" load-path)
(add-to-list 'load-path "~/Dropbox/emacs/prelude/elpa/org-20150511/contrib/lisp" load-path)

Since the org directory is named according to the date of the release, this means I have to either:

  1. edit the directory name in the load paths
  2. rename the org folder

Is there a way to get org-mode to find the contrib directories automatically when I upgrade org?

so I don't have to rename org-mode folder after every update?

I use package manager to update my packages automatically by doing package-list-packages, package-menu-mark-upgrades, package-menu-execute. (I assume this is the easiest way to automatically update all my packages, though I don't really know.)

When I do this, org-mode winds up in a directory with a path like this: ~/Dropbox/emacs/prelude/elpa/org-20150511/

I use packages that are part of contrib, so my .emacs includes these lines:

(add-to-list 'load-path "~/Dropbox/emacs/prelude/elpa/org-20150511/lisp" load-path)  
(add-to-list 'load-path "~/Dropbox/emacs/prelude/elpa/org-20150511/contrib" load-path)
(add-to-list 'load-path "~/Dropbox/emacs/prelude/elpa/org-20150511/contrib/lisp" load-path)

Since the org directory is named according to the date of the release, this means I have to either:

  1. edit the directory name in the load paths
  2. rename the org folder

Is there a way to get org-mode to find the contrib directories automatically when I upgrade org?

Do I have to rename my org-mode load-path folder after every update?

I use package manager to update my packages automatically by doing package-list-packages, package-menu-mark-upgrades, package-menu-execute. (I assume this is the easiest way to automatically update all my packages, though I don't really know.)

When I do this, org-mode winds up in a directory with a path like this:

~/Dropbox/emacs/prelude/elpa/org-20150511/

I use packages that are part of contrib, so my .emacs includes these lines:

(add-to-list 'load-path "~/Dropbox/emacs/prelude/elpa/org-20150511/lisp" load-path)  
(add-to-list 'load-path "~/Dropbox/emacs/prelude/elpa/org-20150511/contrib" load-path)
(add-to-list 'load-path "~/Dropbox/emacs/prelude/elpa/org-20150511/contrib/lisp" load-path)

Since the org directory is named according to the date of the release, this means I have to either:

  1. edit the directory name in the load paths
  2. rename the org folder

Is there a way to get org-mode to find the contrib directories automatically when I upgrade org?

Source Link

so I don't have to rename org-mode folder after every update?

I use package manager to update my packages automatically by doing package-list-packages, package-menu-mark-upgrades, package-menu-execute. (I assume this is the easiest way to automatically update all my packages, though I don't really know.)

When I do this, org-mode winds up in a directory with a path like this: ~/Dropbox/emacs/prelude/elpa/org-20150511/

I use packages that are part of contrib, so my .emacs includes these lines:

(add-to-list 'load-path "~/Dropbox/emacs/prelude/elpa/org-20150511/lisp" load-path)  
(add-to-list 'load-path "~/Dropbox/emacs/prelude/elpa/org-20150511/contrib" load-path)
(add-to-list 'load-path "~/Dropbox/emacs/prelude/elpa/org-20150511/contrib/lisp" load-path)

Since the org directory is named according to the date of the release, this means I have to either:

  1. edit the directory name in the load paths
  2. rename the org folder

Is there a way to get org-mode to find the contrib directories automatically when I upgrade org?