Skip to content

Commit

Permalink
Don't use string-empty-p to check for empty string
Browse files Browse the repository at this point in the history
* elmo-imap4.el (elmo-imap4-send-command): Don't use string-empty-p to
  check for empty string.
  • Loading branch information
David Maus committed May 19, 2014
1 parent 7a52ba4 commit b0e5d69
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions elmo/ChangeLog
@@ -1,3 +1,8 @@
2014-05-19 David Maus <dmaus@ictsoc.de>

* elmo-imap4.el (elmo-imap4-send-command): Don't use
string-empty-p to check for empty string.

2014-05-18 David Maus <dmaus@ictsoc.de>

* elmo-imap4.el (elmo-imap4-search-build-full-command): Simplified.
Expand Down
2 changes: 1 addition & 1 deletion elmo/elmo-imap4.el
Expand Up @@ -369,7 +369,7 @@ Returns a TAG string which is assigned to the COMMAND."
(setq elmo-imap4-parsing t)
(while (setq token (car command-args))
(cond ((stringp token) ; formatted
(unless (string-empty-p token)
(unless (string= "" token)
(push token cmdlist)))
((listp token) ; unformatted
(setq kind (car token))
Expand Down

0 comments on commit b0e5d69

Please sign in to comment.