From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rene Subject: Elpa twice in load-path Date: Sat, 15 Jun 2013 03:14:18 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ungwp-0007nv-Au for emacs-orgmode@gnu.org; Fri, 14 Jun 2013 23:14:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ungwo-0000WM-Ir for emacs-orgmode@gnu.org; Fri, 14 Jun 2013 23:14:39 -0400 Received: from plane.gmane.org ([80.91.229.3]:44796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ungwo-0000WH-C2 for emacs-orgmode@gnu.org; Fri, 14 Jun 2013 23:14:38 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ungwl-0007Mw-Kf for emacs-orgmode@gnu.org; Sat, 15 Jun 2013 05:14:35 +0200 Received: from vaf26-3-88-162-208-155.fbx.proxad.net ([88.162.208.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 Jun 2013 05:14:35 +0200 Received: from jlr_0 by vaf26-3-88-162-208-155.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 Jun 2013 05:14:35 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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/"