From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Re: nil no longer allowed in load-path? Date: Sun, 9 Nov 2014 22:27:56 +0100 Message-ID: <21599.56412.238292.248251@a1i15.kph.uni-mainz.de> References: <21599.55287.130735.653808@a1i15.kph.uni-mainz.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1415568512 7484 80.91.229.3 (9 Nov 2014 21:28:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Nov 2014 21:28:32 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 09 22:28:25 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xna24-0007nm-By for ged-emacs-devel@m.gmane.org; Sun, 09 Nov 2014 22:28:24 +0100 Original-Received: from localhost ([::1]:40065 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xna23-0000Rj-Po for ged-emacs-devel@m.gmane.org; Sun, 09 Nov 2014 16:28:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xna1l-0000RU-SN for emacs-devel@gnu.org; Sun, 09 Nov 2014 16:28:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xna1e-00076E-Dc for emacs-devel@gnu.org; Sun, 09 Nov 2014 16:28:05 -0500 Original-Received: from a1www.kph.uni-mainz.de ([134.93.134.1]:50026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xna1e-00075y-4l for emacs-devel@gnu.org; Sun, 09 Nov 2014 16:27:58 -0500 Original-Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1www.kph.uni-mainz.de (8.14.9/8.14.7) with ESMTP id sA9LRu1V001891 for ; Sun, 9 Nov 2014 22:27:56 +0100 Original-Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.8/8.14.2) with ESMTP id sA9LRuGh024768; Sun, 9 Nov 2014 22:27:56 +0100 Original-Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.8/8.14.8/Submit) id sA9LRuRo024764; Sun, 9 Nov 2014 22:27:56 +0100 In-Reply-To: <21599.55287.130735.653808@a1i15.kph.uni-mainz.de> X-Mailer: VM 8.2.0b under 24.3.1 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 134.93.134.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:176648 Archived-At: >>>>> On Sun, 9 Nov 2014, Ulrich Mueller wrote: > $ emacs -Q --batch --eval "(add-to-list 'load-path nil)" > Wrong type argument: stringp, nil Looks like a missing test in startup.el, function command-line: --- emacs-24.4/lisp/startup.el~ +++ emacs-24.4/lisp/startup.el @@ -1319,6 +1319,7 @@ (let (warned) (dolist (dir load-path) (and (not warned) + (stringp dir) (string-match-p "/[._]emacs\\.d/?\\'" dir) (string-equal (file-name-as-directory (expand-file-name dir)) (expand-file-name user-emacs-directory))