[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/compat 99878885e3 5/6: compat-28: Drop null-device
From: |
ELPA Syncer |
Subject: |
[elpa] externals/compat 99878885e3 5/6: compat-28: Drop null-device |
Date: |
Mon, 16 Jan 2023 06:57:26 -0500 (EST) |
branch: externals/compat
commit 99878885e38744b0a69e5da181c8488726ffd126
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
compat-28: Drop null-device
This API is currently unused. I first have to understand
`with-connection-local-variables' better. Maybe that macro should be
backported first. The function `null-device' always returns /dev/null
for me. What is the point of this API?
---
NEWS.org | 3 ++-
compat-28.el | 8 --------
compat.texi | 12 ++++--------
3 files changed, 6 insertions(+), 17 deletions(-)
diff --git a/NEWS.org b/NEWS.org
index f5a314ad4b..04f16b56ef 100644
--- a/NEWS.org
+++ b/NEWS.org
@@ -4,7 +4,8 @@
- Add tests.
- Add links from compatibility definitions to tests.
-- Drop JSON parsing support (libjansson API).
+- BREAKING: Drop JSON parsing support (libjansson API).
+- BREAKING: Drop ~null-device~.
- compat-26: Add ~buffer-hash~.
- compat-27: Add ~fixnump~ and ~bignump~.
- compat-27: Add ~with-minibuffer-selected-window~.
diff --git a/compat-28.el b/compat-28.el
index eb5d2979f2..c58c1d5bc7 100644
--- a/compat-28.el
+++ b/compat-28.el
@@ -623,14 +623,6 @@ onwards does."
".#" (file-name-nondirectory filename))
(file-name-directory filename)))
-;;;; Defined in files-x.el
-
-(compat-defun null-device () ;; <UNTESTED>
- "Return the best guess for the null device."
- (if (file-remote-p default-directory)
- "/dev/null"
- null-device))
-
;;;; Defined in minibuffer.el
(compat-defun format-prompt (prompt default &rest format-args) ;;
<compat-tests:format-prompt>
diff --git a/compat.texi b/compat.texi
index a92b9f0c70..23ec06cb0e 100644
--- a/compat.texi
+++ b/compat.texi
@@ -1804,12 +1804,6 @@ Return a string containing a lock file name for
@var{filename}, obeying
@code{lock-file-name-transforms}.
@end defun
-@c based on lisp/files.el
-@defun null-device
-Return the path to the null device (usually something like
-@file{/dev/null}) on the current system.
-@end defun
-
@c copied from lisp/calendar/time-date.el
@defun decoded-time-period time
Interpret @var{time} as a period and return its length in seconds. For
@@ -1942,6 +1936,8 @@ Additional Edebug keywords.
@item
Shorthand support.
@item
+The libjansson JSON APIs, e.g., @code{json-parse-string}.
+@item
The function @code{custom-add-choice}.
@item
The function @code{dom-print}.
@@ -1952,8 +1948,6 @@ The function @code{dns-query-asynchronous}.
@item
The function @code{get-locale-names}.
@item
-The function @code{json-available-p}.
-@item
The function @code{mail-header-parse-addresses-lax}.
@item
The function @code{mail-header-parse-address-lax}.
@@ -1970,6 +1964,8 @@ The function @code{syntax-class-to-char}.
@item
The function @code{path-separator}.
@item
+The function @code{null-device}.
+@item
Any @code{multisession} functionality.
@end itemize
- [elpa] externals/compat updated (0967dbf2de -> 9600545c54), ELPA Syncer, 2023/01/16
- [elpa] externals/compat 425156ccb4 2/6: compat-macs: Rename :cond to :when, ELPA Syncer, 2023/01/16
- [elpa] externals/compat 9097878541 4/6: null-device: Use file-remote-p, ELPA Syncer, 2023/01/16
- [elpa] externals/compat 9b787ec578 3/6: Add test for directory-files, ELPA Syncer, 2023/01/16
- [elpa] externals/compat 0a56ae09cd 1/6: compat-macs: Expand docstring, ELPA Syncer, 2023/01/16
- [elpa] externals/compat 9600545c54 6/6: Add test for temporary-file-directory, ELPA Syncer, 2023/01/16
- [elpa] externals/compat 99878885e3 5/6: compat-28: Drop null-device,
ELPA Syncer <=