[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/compat 268eb0bc22 04/14: Remove compat--internal-file-l
From: |
ELPA Syncer |
Subject: |
[elpa] externals/compat 268eb0bc22 04/14: Remove compat--internal-file-local-name |
Date: |
Tue, 3 Jan 2023 13:57:27 -0500 (EST) |
branch: externals/compat
commit 268eb0bc22e63bb26402a0111e96fb9513e88e27
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Remove compat--internal-file-local-name
---
compat-26.el | 5 ++---
compat-27.el | 2 +-
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/compat-26.el b/compat-26.el
index bd97b7d34a..5aabb89513 100644
--- a/compat-26.el
+++ b/compat-26.el
@@ -445,7 +445,6 @@ and the method of accessing the host, leaving only the part
that
identifies FILE locally on the remote system.
The returned file name can be used directly as argument of
`process-file', `start-file-process', or `shell-command'."
- :realname compat--internal-file-local-name
(or (file-remote-p file 'localname) file))
(compat-defun file-name-quoted-p (name &optional top)
@@ -453,7 +452,7 @@ The returned file name can be used directly as argument of
If NAME is a remote file name and TOP is nil, check the local part of NAME."
:realname compat--internal-file-name-quoted-p
(let ((file-name-handler-alist (unless top file-name-handler-alist)))
- (string-prefix-p "/:" (compat--internal-file-local-name name))))
+ (string-prefix-p "/:" (file-local-name name))))
(compat-defun file-name-quote (name &optional top)
"Add the quotation prefix \"/:\" to file NAME.
@@ -463,7 +462,7 @@ returned unchanged."
(let ((file-name-handler-alist (unless top file-name-handler-alist)))
(if (compat--internal-file-name-quoted-p name top)
name
- (concat (file-remote-p name) "/:" (compat--internal-file-local-name
name)))))
+ (concat (file-remote-p name) "/:" (file-local-name name)))))
;;* UNTESTED
(compat-defun temporary-file-directory ()
diff --git a/compat-27.el b/compat-27.el
index 7c7bf509f3..a463078c28 100644
--- a/compat-27.el
+++ b/compat-27.el
@@ -644,7 +644,7 @@ REMOTE is non-nil, search on the remote host indicated by
#'concat (file-remote-p default-directory))
(compat--internal-exec-path))
exec-suffixes 'file-executable-p)))
- (when (stringp res) (compat--file-local-name res)))
+ (when (stringp res) (file-local-name res)))
(executable-find command)))
;;*UNTESTED
- [elpa] externals/compat 12f7a726b8 11/14: Remove compat--internal-func-arity, (continued)
- [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, 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 <=
- [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