From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] eshell show nil when cd a non-absolute direcory Date: Mon, 22 Jun 2009 19:50:04 +0200 Message-ID: References: <871vpcbyge.fsf@redflag-linux.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1245693030 30527 80.91.229.12 (22 Jun 2009 17:50:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Jun 2009 17:50:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Wang Diancheng Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 22 19:50:27 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MIney-0004CV-Fx for ged-emacs-devel@m.gmane.org; Mon, 22 Jun 2009 19:50:24 +0200 Original-Received: from localhost ([127.0.0.1]:33102 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MInex-0005nZ-P9 for ged-emacs-devel@m.gmane.org; Mon, 22 Jun 2009 13:50:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MInet-0005nO-1L for emacs-devel@gnu.org; Mon, 22 Jun 2009 13:50:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MIneo-0005ln-32 for emacs-devel@gnu.org; Mon, 22 Jun 2009 13:50:18 -0400 Original-Received: from [199.232.76.173] (port=37692 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MInen-0005lj-TA for emacs-devel@gnu.org; Mon, 22 Jun 2009 13:50:13 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:40600) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MInem-0001gI-OC for emacs-devel@gnu.org; Mon, 22 Jun 2009 13:50:12 -0400 Original-Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id D143B1C15399; Mon, 22 Jun 2009 19:50:07 +0200 (CEST) Original-Received: from localhost (dynscan2.mnet-online.de [192.168.1.215]) by mail.m-online.net (Postfix) with ESMTP id B3BD490284; Mon, 22 Jun 2009 19:50:07 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan2.mnet-online.de [192.168.1.215]) (amavisd-new, port 10024) with ESMTP id fN-hftdbVOIb; Mon, 22 Jun 2009 19:50:06 +0200 (CEST) Original-Received: from igel.home (DSL01.83.171.188.222.ip-pool.NEFkom.net [83.171.188.222]) by mail.mnet-online.de (Postfix) with ESMTP; Mon, 22 Jun 2009 19:50:06 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id E8F5BC8316; Mon, 22 Jun 2009 19:50:04 +0200 (CEST) X-Yow: ..The TENSION mounts as I MASSAGE your RIGHT ANKLE according to ancient Tibetan ACCOUNTING PROCEDURES..are you NEUROTIC yet?? In-Reply-To: <871vpcbyge.fsf@redflag-linux.com> (Wang Diancheng's message of "Mon, 22 Jun 2009 13:59:45 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111639 Archived-At: Wang Diancheng writes: > diff -u -r1.29 em-dirs.el > --- em-dirs.el 5 Jan 2009 03:21:43 -0000 1.29 > +++ em-dirs.el 22 Jun 2009 05:47:11 -0000 > @@ -393,7 +393,7 @@ > (eshell-add-to-dir-ring curdir)) > (let ((result (cd dired-directory))) > (and eshell-cd-shows-directory > - (eshell-printn result))) > + (eshell-printn (eshell/pwd)))) This makes result now unused and can be removed (the return value of cd was never documented anyway). Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."