Ffile_exists_p ("/tmp/DELETEME")
    which returns nil because it calls stat ("/tmp/DELETEME")

    If "stat" was to be changed to "lstat" then the original problem would
    be fixed.

    But is that change desirable?  
    What should (file-exists-p "/tmp/DELETEME") return when /tmp/DELETEME
    is a symlink that points to a non-existent file? 

Both operations are useful.  If you want to test for
a symlink to a nonexistent file, you can use file-symlink-p.
It returns t in that case.


_______________________________________________
Emacs-pretest-bug mailing list
Emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to