hi Eli, Eli Zaretskii writes: >> So another solution which is a bit more hackish is the following >> (and also attached as a patch) > > Why not use file-relative-name instead? i was totally, 100% oblivious that this existed. It simplifies the solution even more. > Btw, please don't use "path" for anything that is not PATH-style > directory lists: the GNU Coding Standards frown on such uses. We use > "file name" or "absolute file name" or "leading directories" instead, > as appropriate for the context. > > Thanks. i'll do so, thank you! Michalis