[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56355: 29.0.50; Implement file-parent-directory
From: |
daanturo |
Subject: |
bug#56355: 29.0.50; Implement file-parent-directory |
Date: |
Sat, 2 Jul 2022 19:02:42 +0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 |
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.