diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2023-01-16 12:25:01 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2023-01-16 12:26:13 +0100 |
| commit | 99878885e38744b0a69e5da181c8488726ffd126 (patch) | |
| tree | f0a13a6cd4f499f161d35553ad24c6c8555a3bea | |
| parent | 9097878541161e6c6f4d855b8d250a5a2c156b6e (diff) | |
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?
| -rw-r--r-- | NEWS.org | 3 | ||||
| -rw-r--r-- | compat-28.el | 8 | ||||
| -rw-r--r-- | compat.texi | 12 |
3 files changed, 6 insertions, 17 deletions
@@ -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 eb5d297..c58c1d5 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 a92b9f0..23ec06c 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 |
