Commit 73c8ceea authored by Bozhidar Batsov's avatar Bozhidar Batsov

* lisp/emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.

parent 947003b5
2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
* emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2013-12-07 Tassilo Horn <tsdh@gnu.org>
* help-fns.el (describe-function-1): Use new advice-* functions
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment