diff options
author | Johan Andersson <johan.rejeep@gmail.com> | 2013-09-04 20:03:07 +0200 |
---|---|---|
committer | Johan Andersson <johan.rejeep@gmail.com> | 2013-09-04 20:03:07 +0200 |
commit | 1af6507187f3e958014ebc02b98353f411b8cfd3 (patch) | |
tree | 47aef5a37bc78176f5e046bbccaa81a8a6188eb2 /s.el | |
parent | aac4a2faff9fb5f61983aaf95f6c2a5f7b354d9f (diff) |
Remove double negation.
Diffstat (limited to 's.el')
-rw-r--r-- | s.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -269,8 +269,8 @@ This is a simple wrapper around the built-in `string-match-p'." (not (s-blank? s))) (defun s-presence (s) - "Return S if it's not `s-blank?', otherwise return nil." - (unless (s-blank? s) s)) + "Return S if it's `s-present?', otherwise return nil." + (and (s-present? s) s)) (defun s-lowercase? (s) "Are all the letters in S in lower case?" |