Permalink
Browse files

(twittering-retrieve-image): use 'unless' instead of 'when'.

  • Loading branch information...
1 parent 7652b80 commit 98f6fc48e1991faedaaed20125a7de0b4aa9063e @yata yata committed Feb 20, 2010
Showing with 4 additions and 1 deletion.
  1. +3 −0 ChangeLog
  2. +1 −1 twittering-mode.el
View
@@ -10,6 +10,9 @@
Return nil explicitly when `twittering-string-to-timeline-spec'
return nil.
+ * twittering-mode.el (twittering-retrieve-image): Use `unless'
+ instead of `when'.
+
2010-02-19 Satoshi Yatagawa <yata_github@y.hauN.org>
* twittering-mode.el (twittering-delete-ca-cert-file): New defun.
View
@@ -2752,7 +2752,7 @@ variable `twittering-status-format'."
(defun twittering-retrieve-image (image-url)
(let ((image-data (gethash `(,image-url . ,twittering-convert-fix-size)
twittering-image-data-table)))
- (when (not image-data)
+ (unless image-data
(let ((image-type nil)
(image-spec nil)
(converted-image-size

0 comments on commit 98f6fc4

Please sign in to comment.