aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-async.el
Commit message (Collapse)AuthorAgeFilesLines
* Reformat all code.Holger Dürer2021-11-061-11/+11
| | | | | | | | | | | Basically, in Emacs for each file: select all text and `indent-region`. - This also removes one redundant comment, and - fixes an error with json decoding where the `json-read-from-string` was actually not within the intended `unless` clause (which explains the warning about "result of (string-equal "" json-string) will be ignored" which I never understood.
* Use `defvar-local` to create buffer-local vars.Holger Dürer2021-11-061-9/+6
| | | | | This is much cleaner than first using `defvar` immediately followed by `make-variable-buffer-local`.
* Fix compilation warnings.Holger Dürer2021-11-011-2/+12
| | | | | | | | | | | | This is mostly reflowing / reworkding docstrings to keep within 80 characters limit and adding autoloads. There are two warning remaining that I don't understand: - mastodon-async.el:359:16: Warning: reference to free variable ‘url-http-end-of-headers’ - mastodon-http.el:139:8: Warning: value returned from (string-equal json-string "") is unused When adding autoloads this sorts them for better readability.
* package-lint: bump to emacs 26.1, disable stream keybindingsmousebot2021-09-221-1/+1
|
* typo in async http-layer, unless in http process-json, typo in readmmousebot2021-06-211-1/+1
|
* fix async "local" endpoint, docstringsmousebot2021-06-071-4/+4
|
* handle error on kill async buffer, begin same on borked JSON.mousebot2021-06-051-18/+14
|
* enable async stream for user notifications.mousebot2021-06-031-27/+56
| | | | creates a notifications filter for the 'user' stream, then handles display of notifications, which have their own timeline funs.
* add basic live updates of home/local/federated timelines.mousebot2021-06-011-0/+332
the code, mastodon-async.el is taken from https://github.com/alexjgriffith/mastodon-future.el and only slightly modified to make the home stream work.