When I do ediff-directories and either directory name I supply contains "~/", indicating my home direcetory, everything works fine except for ==: for each session, show which files are identical =h: like ==, but also marks those sessions for hiding =m: like ==, but also marks those sessions for operation Which, it turns out, is due to a failure to expand the wildcard when invoking "cmp" in ediff-same-file-contents. Here's a patch that fixes it: