Re: [O] Elpa twice in load-path
Hi Rene, Rene jl...@yahoo.com writes: Achim Gratz Stromeko at nexgo.de writes: Line 4 of `org-autoloads.el in org/elpa package. Since this file is created by package manager this is probably how it adds Org to the load path, don't you think? What I notice is that for elpa packages that don't hold such a line in their `package-autoloads.el', the package path only appears once in `load-path', which is the right behavior. Can you suggest a fix, if needed? Thanks, -- Bastien
Re: [O] Elpa twice in load-path
Bastien bzg at gnu.org writes: The way elpa works, it automatically adds packages to `load-path'. There is therefore no need to have such a line (add-to-list 'load-path (or (file-name-directory #$) (car load-path))) in the `package-autoloads.el file. Where is this file? Line 4 of `org-autoloads.el in org/elpa package. -- Rene
Re: [O] Elpa twice in load-path
Rene writes: The way elpa works, it automatically adds packages to `load-path'. There is therefore no need to have such a line (add-to-list 'load-path (or (file-name-directory #$) (car load-path))) in the `package-autoloads.el file. Where is this file? Line 4 of `org-autoloads.el in org/elpa package. Since this file is created by package manager this is probably how it adds Org to the load path, don't you think? Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
Re: [O] Elpa twice in load-path
Achim Gratz Stromeko at nexgo.de writes: Line 4 of `org-autoloads.el in org/elpa package. Since this file is created by package manager this is probably how it adds Org to the load path, don't you think? What I notice is that for elpa packages that don't hold such a line in their `package-autoloads.el', the package path only appears once in `load-path', which is the right behavior. -- Rene
Re: [O] Elpa twice in load-path
Hi Rene, Rene jl...@yahoo.com writes: The way elpa works, it automatically adds packages to `load-path'. There is therefore no need to have such a line (add-to-list 'load-path (or (file-name-directory #$) (car load-path))) in the `package-autoloads.el file. Where is this file? -- Bastien
[O] Elpa twice in load-path
The way elpa works, it automatically adds packages to `load-path'. There is therefore no need to have such a line (add-to-list 'load-path (or (file-name-directory #$) (car load-path))) in the `package-autoloads.el file. Besides, having such a line leads to adding twice the same directory to `load-path', a normal one and one with a trailing `/'. In the case of the org package: /home/dir/.emacs.d/elpa/org-20130610 /home/dir/.emacs.d/elpa/org-20130610/