From: Andreas Schwab <schwab@linux-m68k.org>
To: Wang Diancheng <dianchengwang@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] eshell show nil when cd a non-absolute direcory
Date: Mon, 22 Jun 2009 19:50:04 +0200 [thread overview]
Message-ID: <m2r5xckvjn.fsf@igel.home> (raw)
In-Reply-To: <871vpcbyge.fsf@redflag-linux.com> (Wang Diancheng's message of "Mon, 22 Jun 2009 13:59:45 +0800")
Wang Diancheng <dianchengwang@gmail.com> 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."
prev parent reply other threads:[~2009-06-22 17:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-22 5:59 [PATCH] eshell show nil when cd a non-absolute direcory Wang Diancheng
2009-06-22 17:50 ` Andreas Schwab [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2r5xckvjn.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=dianchengwang@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.