summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/subr-x.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-08-09 19:49:40 +0200
committerStefan Kangas <stefan@marxist.se>2022-08-09 21:58:00 +0200
commit581fa3d958c064e05a8f980472880f153aba30a6 (patch)
treec48e56749f8f9309ee2408aed9c2109fd6796558 /lisp/emacs-lisp/subr-x.el
parent0bc2079ce664cfe089a10f8ba0b17f4d2dae9ace (diff)
downloademacs-581fa3d958c064e05a8f980472880f153aba30a6.tar.gz
Autoload string-blank-p
* lisp/eshell/em-hist.el (subr-x): * lisp/net/eudc.el (subr-x): Don't require. * lisp/emacs-lisp/subr-x.el (string-blank-p): Autoload.
Diffstat (limited to 'lisp/emacs-lisp/subr-x.el')
-rw-r--r--lisp/emacs-lisp/subr-x.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/subr-x.el b/lisp/emacs-lisp/subr-x.el
index d5d7bfeb6f5..b7083bfe7cc 100644
--- a/lisp/emacs-lisp/subr-x.el
+++ b/lisp/emacs-lisp/subr-x.el
@@ -118,6 +118,7 @@ the resulting string may be longer than the original if LENGTH is
(concat "..." (substring string (min (1- strlen)
(max 0 (- strlen length))))))))
+;;;###autoload
(defsubst string-blank-p (string)
"Check whether STRING is either empty or only whitespace.
The following characters count as whitespace here: space, tab, newline and