> + (string= string ""))
I think `equal' is preferable since it avoids signaling an error if
STRING is not a string.
> +(defsubst string-blank-p (string)
> + "Check whether STRING is either empty or only whitespace."
> + (string-empty-p (string-trim string)))
Better use (string-match-p "\\`...\\'" string) to avoid allocating a new
string.
Stefan