]> git.eshelyaron.com Git - emacs.git/commit
Make file-parent-directory more efficient
authorDaanturo <daanturo@gmail.com>
Thu, 1 Sep 2022 10:08:05 +0000 (12:08 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 1 Sep 2022 10:08:05 +0000 (12:08 +0200)
commitf0319cd86f8d147e443bcaa0927937ccf052fbd0
tree11b276819f696655d190b35f9a058f6dbbb50b96
parente7193902b23deb842f55c1cd9100b807e199f4bd
Make file-parent-directory more efficient

* lisp/files.el (file-parent-directory): Use equal instead of
file-equal-p to compare the found parent and the child
(bug#56355).  This is much faster.
lisp/files.el