summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-06-25 12:20:05 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-06-25 12:20:05 +0200
commit2f346b0ab10a8777ff5629af30a224b4f0ea16a6 (patch)
tree8adf9ac663f2c412c6e3fc39ef98670f5c17d5d2 /lisp/emacs-lisp
parent376ecd5346496a4f11a3bc93814b03d7a884b841 (diff)
downloademacs-2f346b0ab10a8777ff5629af30a224b4f0ea16a6.tar.gz
emacs-2f346b0ab10a8777ff5629af30a224b4f0ea16a6.tar.bz2
emacs-2f346b0ab10a8777ff5629af30a224b4f0ea16a6.zip
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.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/subr-x.el4
1 files changed, 0 insertions, 4 deletions
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