Skip to main content
added error
Source Link
emonigma
  • 4.2k
  • 4
  • 35
  • 76

Starting in emacs 24.4, there are two different functions available for you to call, depending on what you mean by 'empty'.

(string-empty-p " ")
nil

(string-blank-p " ")
0

I'm having trouble finding docs to link to, but emacsredux.com has more information.

If you get the error Symbol's function definition is void., include (require 'subr-x) in the initialization file (it's a package for trimming and string manipulation).

Starting in emacs 24.4, there are two different functions available for you to call, depending on what you mean by 'empty'.

(string-empty-p " ")
nil

(string-blank-p " ")
0

I'm having trouble finding docs to link to, but emacsredux.com has more information.

Starting in emacs 24.4, there are two different functions available for you to call, depending on what you mean by 'empty'.

(string-empty-p " ")
nil

(string-blank-p " ")
0

I'm having trouble finding docs to link to, but emacsredux.com has more information.

If you get the error Symbol's function definition is void., include (require 'subr-x) in the initialization file (it's a package for trimming and string manipulation).

Source Link
Gina White
  • 210
  • 3
  • 6

Starting in emacs 24.4, there are two different functions available for you to call, depending on what you mean by 'empty'.

(string-empty-p " ")
nil

(string-blank-p " ")
0

I'm having trouble finding docs to link to, but emacsredux.com has more information.