emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] eshell show nil when cd a non-absolute direcory


From: Andreas Schwab
Subject: Re: [PATCH] eshell show nil when cd a non-absolute direcory
Date: Mon, 22 Jun 2009 19:50:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (gnu/linux)

Wang Diancheng <address@hidden> 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, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]