The function tries to find image type with 'image-type-from-data'. If the try fails, the function invokes 'file' as in the past. (twittering-image-type): Try to detect image type with `image-type-from-data' at first.
* twittering-mode.el (twittering-tmp-dir): delete (twittering-icon-mode): don't make temp dir (twittering-image-data-table): add. hash table where image data are stored. key:(<url> . <size>),value:(<type> . <binary-data>) (twittering-use-wget): delete (twittering-image-type): re-implemented. Now it just returns a type of a given image. (twittering-make-display-spec-for-icon): Now it receives image URL as an argument. (twittering-retrieve-image): Now it receives image URL as an argument. (twittering-url-copy-file-async): delete (twittering-retrieve-image-without-wget): delete (twittering-retrieve-image-with-wget): delete
…e strings to an alist before calling 'completing-read' to work on Emacs21; same as 'twittering-read-timeline-spec-with-completion'.
remove an unnecessary call to 'format' because all arguments of 'error' pass to 'format'.
… to local scope from global one.
(twittering-tinyurl-get): `buffer' are killed even if `search-forward-regexp' fails.
(twittering-http-get-list-index-sentinel): `save-excursion' had no effect because of the following `set-buffer'. This is fixed so that `save-excursion' saves the state of `temp-buffer'. (twittering-get-response-header): Likewise. (twittering-get-response-body): Likewise. (twittering-tinyurl-get): Likewise.
…that mostly code of this function should be executed by way of BODYFORM of 'unwind-protect', not UNWINDFORM.
…r' pass to 'format'.