summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/helpers.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-12-09 19:20:34 +0200
committerEli Zaretskii <eliz@gnu.org>2013-12-09 19:20:34 +0200
commitcc24ef09f8c050808f9f4989e49122b206e8c934 (patch)
tree578b29e1c9dd276a965e7b2559f8b09c21df9a83 /lisp/emacs-lisp/helpers.el
parent439b1ae89e7c0660ef0a8fa540b12977e38dedf8 (diff)
parentad8a47b89fc3c5a3302255f318b1ed805838cf72 (diff)
downloademacs-cc24ef09f8c050808f9f4989e49122b206e8c934.tar.gz
emacs-cc24ef09f8c050808f9f4989e49122b206e8c934.tar.bz2
emacs-cc24ef09f8c050808f9f4989e49122b206e8c934.zip
Merge from trunk.
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)