[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47547: 28.0.50; [PATCH] Eshell cannot 'cd' in directory with 'eshell
From: |
Lars Ingebrigtsen |
Subject: |
bug#47547: 28.0.50; [PATCH] Eshell cannot 'cd' in directory with 'eshell' as name |
Date: |
Mon, 05 Apr 2021 18:04:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Utkarsh Singh <utkarsh190601@gmail.com> writes:
> We can see eshell is using `file-name-nondirectory' to source file which
> leads to the read error. I suggest to add one more check before
> loading file from `eshell/source'. One example of such check is
> `file-regular-p' check and hence I drafted this patch.
Thanks; applied to Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no