[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43547: 27.1.50; [PATCH] Fix error msg for looking file in non-exist
From: |
Lars Ingebrigtsen |
Subject: |
bug#43547: 27.1.50; [PATCH] Fix error msg for looking file in non-exist dir when enable |
Date: |
Mon, 21 Sep 2020 17:33:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Lin Sun <lin.sun@zoom.us> writes:
> Hi Eli,
>
> There is an error message for ede-mode try travel in non-exist directory.
> Follow steps will reproduce the issue, and the solution is detecting
> dir exists before traveling it.
> $ mkdir /tmp/src
> $ touch src/emacs.c
> $ emacs -nw -q \
> --eval '(progn (global-ede-mode t)(setq debug-on-error
> t)(find-file-noselect "/tmp/not-exist.c"))'
>
> Please review the patch, thank you.
I'm not Eli, but the patch looked fine to me, so I've applied it to
Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no