aboutsummaryrefslogtreecommitdiffstats
path: root/java/README
diff options
context:
space:
mode:
authorPaul Eggert2025-07-16 08:43:14 -0700
committerPaul Eggert2025-07-16 11:45:23 -0700
commit2074951c2adff43be49822c344d6cf3fee2e29a5 (patch)
treecffd1722738a3e596ae98e2251a87ac7537f7775 /java/README
parent94b2a0b2fccc4da253f403d5971ed1b6449a82c0 (diff)
downloademacs-2074951c2adff43be49822c344d6cf3fee2e29a5.tar.gz
emacs-2074951c2adff43be49822c344d6cf3fee2e29a5.zip
Avoid some syscalls in locate-dominating-file
* lisp/files.el (locate-dominating-file): Do not call file-directory-p each time through a loop ascending the directory hierarchy, as the file must be a directory after the first loop iteration. Instead, call file-directory-p just once, before the loop starts, and do this only if the file name is not already that of a directory.
Diffstat (limited to 'java/README')
0 files changed, 0 insertions, 0 deletions