From 2f346b0ab10a8777ff5629af30a224b4f0ea16a6 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 25 Jun 2022 12:20:05 +0200 Subject: Re-fix build warnings about subr-x defsubsts * lisp/term/haiku-win.el (require): * lisp/progmodes/elisp-mode.el (require): * lisp/isearch.el (require): Require subr-x at compile time, since these use defsubsts/macros from there. * lisp/emacs-lisp/subr-x.el (string-empty-p): Move from here... * lisp/simple.el (string-empty-p): ... to here. This is to help with a build problem where files.el is using the defsubst, but requiring subr-x.el at compile time leads to load errors. --- lisp/emacs-lisp/subr-x.el | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lisp/emacs-lisp') diff --git a/lisp/emacs-lisp/subr-x.el b/lisp/emacs-lisp/subr-x.el index b0de5d155ac..390e505f009 100644 --- a/lisp/emacs-lisp/subr-x.el +++ b/lisp/emacs-lisp/subr-x.el @@ -97,10 +97,6 @@ threading." (maphash (lambda (_ v) (push v values)) hash-table) values)) -(defsubst string-empty-p (string) - "Check whether STRING is empty." - (string= string "")) - (defsubst string-join (strings &optional separator) "Join all STRINGS using SEPARATOR. Optional argument SEPARATOR must be a string, a vector, or a list of -- cgit v1.2.3