[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/compat 177deb51ef 02/14: Get rid of compat--internal-di
From: |
ELPA Syncer |
Subject: |
[elpa] externals/compat 177deb51ef 02/14: Get rid of compat--internal-directory-name-p |
Date: |
Tue, 3 Jan 2023 13:57:26 -0500 (EST) |
branch: externals/compat
commit 177deb51ef38b8facdbec26ef1fdecd8160514ea
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Get rid of compat--internal-directory-name-p
---
compat-25.el | 3 +--
compat-28.el | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/compat-25.el b/compat-25.el
index 5398d59e4a..92d3e8ec3b 100644
--- a/compat-25.el
+++ b/compat-25.el
@@ -79,7 +79,6 @@ This implementation is equivalent to `format'."
(compat-defun directory-name-p (name)
"Return non-nil if NAME ends with a directory separator character."
- :realname compat--internal-directory-name-p
(eq (eval-when-compile
(if (memq system-type '(cygwin windows-nt ms-dos))
?\\ ?/))
@@ -306,7 +305,7 @@ recursion."
(dolist (file (sort (file-name-all-completions "" dir)
'string<))
(unless (member file '("./" "../"))
- (if (compat--internal-directory-name-p file)
+ (if (directory-name-p file)
(let* ((leaf (substring file 0 (1- (length file))))
(full-file (concat dir "/" leaf)))
;; Don't follow symlinks to other directories.
diff --git a/compat-28.el b/compat-28.el
index 47febbec4b..7a66d6c5d8 100644
--- a/compat-28.el
+++ b/compat-28.el
@@ -623,7 +623,7 @@ See also `file-name-sans-extension'."
(error "Empty filename"))
((string= extn "")
(error "Malformed extension: %s" extension))
- ((compat--internal-directory-name-p filename)
+ ((directory-name-p filename)
(error "Filename is a directory: %s" filename))
(t
(concat (file-name-sans-extension filename) "." extn)))))
- [elpa] externals/compat updated (438d683afd -> 71928153bd), ELPA Syncer, 2023/01/03
- [elpa] externals/compat 4bc08592c1 09/14: Remove compat--internal-buffer-match-p, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 12f7a726b8 11/14: Remove compat--internal-func-arity, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 661dd7f0a5 08/14: Remove compat--internal-buffer-text-pixel-size, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 239e45d33c 12/14: file-name-quoted-p and file-name-quote must be prefixed, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 494da3f7dc 01/14: Disallow :realname to equal compat--<name>, ELPA Syncer, 2023/01/03
- [elpa] externals/compat bb25afc191 03/14: Remove compat--internal-provided-mode-derived-p, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 4512cd5ab1 13/14: Remove :realname from proper-list-p, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 6638a73cbd 10/14: Remove compat--internal-directory-files-recursively, ELPA Syncer, 2023/01/03
- [elpa] externals/compat d0f3f4ad6e 05/14: Remove compat--internal-exec-path, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 177deb51ef 02/14: Get rid of compat--internal-directory-name-p,
ELPA Syncer <=
- [elpa] externals/compat 7dd449e0b1 07/14: Remove compat--internal-key* functions, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 268eb0bc22 04/14: Remove compat--internal-file-local-name, ELPA Syncer, 2023/01/03
- [elpa] externals/compat c228c2cd5e 06/14: Remove compat--key-valid-p, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 71928153bd 14/14: Remove compat--alist-get-handle-testfn realname, ELPA Syncer, 2023/01/03