Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Processes are registered with timeline spec retrieved by them.
* twittering-mode.el (twittering-process-info-alist): new variable for managing active process and timeline spec being retrieved by the process. (twittering-register-process): new function for registering a pair of process and timeline spec. (twittering-release-process): new function for releasing a process. (twittering-get-timeline-spec-from-process): new function for getting timeline spec retrieved by the given process. (twittering-http-get-default-sentinel): discard statuses if the retrieved spec differs from the last requested one. (twittering-get-and-render-timeline): register a pair of the requested timeline spec and process for retrieving it.
- Loading branch information
Showing
2 changed files
with
48 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters