Changeset 134 for lang/elisp
- Timestamp:
- 06/13/09 19:10:37 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/elisp/twittering-mode/trunk/twittering-mode.el
r81 r134 519 519 (list-push (attr 'user-url) result)) 520 520 ((?j) ; %j - user.id 521 (list-push ( format "%d" (attr 'user-id)) result))521 (list-push (attr 'user-id) result)) 522 522 ((?p) ; %p - protected? 523 523 (let ((protected (attr 'user-protected))) … … 576 576 (list-push (attr 'source) result)) 577 577 ((?#) ; %# - id 578 (list-push ( format "%d" (attr 'id)) result))578 (list-push (attr 'id) result)) 579 579 (t 580 580 (list-push (char-to-string c) result))) … … 708 708 (not (find-if 709 709 (lambda (item) 710 ( eqlid (cdr (assq 'id item))))710 (string= id (cdr (assq 'id item)))) 711 711 (symbol-value data-var)))) 712 712 (progn … … 734 734 regex-index) 735 735 736 (setq id ( string-to-number (assq-get 'id status-data)))736 (setq id (assq-get 'id status-data)) 737 737 (setq text (twittering-decode-html-entities 738 738 (assq-get 'text status-data))) … … 741 741 (setq created-at (assq-get 'created_at status-data)) 742 742 (setq truncated (assq-get 'truncated status-data)) 743 (setq user-id ( string-to-number (assq-get 'id user-data)))743 (setq user-id (assq-get 'id user-data)) 744 744 (setq user-name (twittering-decode-html-entities 745 745 (assq-get 'name user-data))) … … 1136 1136 (defun twittering-get-status-url (username id) 1137 1137 "Generate status URL." 1138 (format "http://twitter.com/%s/statuses/% d" username id))1138 (format "http://twitter.com/%s/statuses/%s" username id)) 1139 1139 1140 1140 ;;;###autoload