Subject: bug#56355: 29.0.50; Implement file-parent-directory

From: daanturo <[email-masked]>
Date: Sat, 2 Jul 2022 19:02:42 +0700

On 7/2/22 18:54, Eli Zaretskii wrote:
> Thanks, but it looks as a very thin wrapper around
> file-name-directory, so I wonder whether we really need a separate
> function fir this.

file-name-directory doesn't work when the input has a trailing "/", such as "/home/" when we expect "/" as the return value.

Also this one handles "~" => "/home/".

-- 
Daanturo.