summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/helpers.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp/helpers.el')
-rw-r--r--lisp/emacs-lisp/helpers.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/helpers.el b/lisp/emacs-lisp/helpers.el
index 8049f4e1d1d..b7996ade777 100644
--- a/lisp/emacs-lisp/helpers.el
+++ b/lisp/emacs-lisp/helpers.el
@@ -67,7 +67,7 @@
(defsubst string-blank-p (string)
"Check whether STRING is either empty or only whitespace."
- (string-empty-p (string-trim string)))
+ (string-match-p "\\`[ \t\n\r]*\\'" string))
(provide 'helpers)