Manual says FILE-NOT-READABLE? and brothers return 'NO-DIRECTORY
if some dir in the path isn't there; code returned 'NOT-DIRECTORY. Manual was right; code was wrong. -Olin
This commit is contained in:
parent
dae01f4eb7
commit
b8d83b88b1
|
@ -40,7 +40,7 @@
|
||||||
(let ((uid (user-effective-uid)))
|
(let ((uid (user-effective-uid)))
|
||||||
(with-errno-handler ((err data)
|
(with-errno-handler ((err data)
|
||||||
((errno/acces) 'search-denied)
|
((errno/acces) 'search-denied)
|
||||||
((errno/notdir) 'not-directory)
|
((errno/notdir) 'no-directory)
|
||||||
|
|
||||||
;; If the file doesn't exist, we usually return
|
;; If the file doesn't exist, we usually return
|
||||||
;; 'nonexistent, but we special-case writability
|
;; 'nonexistent, but we special-case writability
|
||||||
|
|
Loading…
Reference in New Issue