From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Emacs load path Date: Tue, 29 Dec 2015 01:15:54 +0300 Message-ID: <87h9j2jk2t.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49434) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDg5A-0001CY-HR for guix-devel@gnu.org; Mon, 28 Dec 2015 17:16:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDg57-0007mF-Cm for guix-devel@gnu.org; Mon, 28 Dec 2015 17:16:00 -0500 In-Reply-To: (Federico Beffa's message of "Sun, 27 Dec 2015 23:16:46 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Federico Beffa Cc: Guix-devel , KAction@gnu.org Federico Beffa (2015-12-28 01:16 +0300) wrote: [...] > 1. (setq load-path (append '("/usr/local/share/emacs/site-lisp/") load-path)) This is very unusual. Why 'append' instead of 'cons'? Anyway an idiomatic way is: (add-to-list 'load-path "dir") -- Alex