|
From: | Glenn Morris |
Subject: | bug#17330: files.el cd-absolute overcome false negative from file-executable-p |
Date: | Sun, 04 May 2014 14:07:50 -0400 |
User-agent: | Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Stefan Monnier wrote: > So, we could solve this problem either by dropping this error, or by > using call-process instead of file-executable-p. Yet another way would > be to provide a new subroutine that gives access to chdir somehow > (e.g. "file-chdirable-p"). I'd still like to hear if file-accessible-directory-p does any better than file-executable-p. At least on !DOS_NT, it seems to be something a bit different. > I think the simplest solution for now is to turn the error into a warning. Sounds good, but might be annoying on Unix platforms; if as you say this situation is impossible there an error might be clearer for them.
[Prev in Thread] | Current Thread | [Next in Thread] |