Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
73c8ceea
Commit
73c8ceea
authored
Dec 07, 2013
by
Bozhidar Batsov
Browse files
* lisp/emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
parent
947003b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/emacs-lisp/helpers.el
lisp/emacs-lisp/helpers.el
+1
-1
No files found.
lisp/ChangeLog
View file @
73c8ceea
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
...
...
lisp/emacs-lisp/helpers.el
View file @
73c8ceea
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment