From 4217398de3883cc8bc550f6ba33389e8ec85ad6e Mon Sep 17 00:00:00 2001 From: "Basil L. Contovounesios" Date: Tue, 25 Jun 2019 21:49:00 +0100 Subject: [PATCH] Avoid using subr-x.el function in files.el * lisp/files.el (file-size-human-readable): Open code string-empty-p call. This was the single occurrence of a subr-x.el function in files.el, which does not (yet) load subr-x.el. --- lisp/files.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/files.el b/lisp/files.el index a431be8d5d8..05150ac0214 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1396,7 +1396,7 @@ in all cases, since that is the standard symbol for byte." "%.1f%s%s" "%.0f%s%s") file-size - (if (string-empty-p prefixed-unit) "" (or space "")) + (if (string= prefixed-unit "") "" (or space "")) prefixed-unit)))) (defcustom mounted-file-systems -- 2.39.2