[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/compat 239e45d33c 12/14: file-name-quoted-p and file-na
From: |
ELPA Syncer |
Subject: |
[elpa] externals/compat 239e45d33c 12/14: file-name-quoted-p and file-name-quote must be prefixed |
Date: |
Tue, 3 Jan 2023 13:57:27 -0500 (EST) |
branch: externals/compat
commit 239e45d33c25d104104cafe019e334d27897498b
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
file-name-quoted-p and file-name-quote must be prefixed
The TOP argument got added at some point.
---
compat-26.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/compat-26.el b/compat-26.el
index 6f88888810..86bb2a226d 100644
--- a/compat-26.el
+++ b/compat-26.el
@@ -449,7 +449,8 @@ The returned file name can be used directly as argument of
(compat-defun file-name-quoted-p (name &optional top)
"Whether NAME is quoted with prefix \"/:\".
If NAME is a remote file name and TOP is nil, check the local part of NAME."
- :realname compat--internal-file-name-quoted-p
+ :prefix t
+ :realname compat--file-name-quoted-p-with-top
(let ((file-name-handler-alist (unless top file-name-handler-alist)))
(string-prefix-p "/:" (file-local-name name))))
@@ -458,8 +459,9 @@ If NAME is a remote file name and TOP is nil, check the
local part of NAME."
If NAME is a remote file name and TOP is nil, the local part of
NAME is quoted. If NAME is already a quoted file name, NAME is
returned unchanged."
+ :prefix t
(let ((file-name-handler-alist (unless top file-name-handler-alist)))
- (if (compat--internal-file-name-quoted-p name top)
+ (if (compat--file-name-quoted-p-with-top name top)
name
(concat (file-remote-p name) "/:" (file-local-name name)))))
- [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 <=
- [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, 2023/01/03
- [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