aboutsummaryrefslogtreecommitdiff
path: root/compat-28.el
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2023-01-16 12:25:01 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2023-01-16 12:26:13 +0100
commit99878885e38744b0a69e5da181c8488726ffd126 (patch)
treef0a13a6cd4f499f161d35553ad24c6c8555a3bea /compat-28.el
parent9097878541161e6c6f4d855b8d250a5a2c156b6e (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?
Diffstat (limited to 'compat-28.el')
-rw-r--r--compat-28.el8
1 files changed, 0 insertions, 8 deletions
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>