bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58364: [PATCH] Add new function 'file-name-parent-p'


From: Philip Kaludercic
Subject: bug#58364: [PATCH] Add new function 'file-name-parent-p'
Date: Fri, 07 Oct 2022 20:23:27 +0000

Tags: patch


Unless I am mistaken, there is no direct function to quickly test if a
directory is a super-directory of file.  As I have encountered this
issue more than once the last few days of hacking, I would like to
propose the below function.


In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.34, cairo version 1.17.6) of 2022-10-07 built on rhea
Repository revision: 51f5a7cf127934aa93d860c8fd3e8d58fbc594cb
Repository branch: feature/package+vc
System Description: Fedora Linux 36 (Workstation Edition)

Configured using:
 'configure --with-pgtk --with-imagemagick'

Attachment: 0001-Add-new-function-file-name-parent-p.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]