diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2023-08-27 22:37:15 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2023-08-29 15:33:02 -0400 |
commit | 3bb7635c3e9d8df3fa546a0009de2fe2ed5b7a53 (patch) | |
tree | 0ae89548d658905f210a46cccaf9a72c758d20e9 /lisp/mastodon.el | |
parent | 126e2d8642669d3bc3f16d8a163dc9f0e0325a07 (diff) |
* lisp/mastodon.el: Remove `ts` from `Package-Requires:`
This is/was the main hurdle to be able to include `mastodon.el`
into (Non)GNU ELPA since `ts` is/was not in (Non)GNU ELPA.
Also I think the replacement function is more flexible and gives better
results :-)
* lisp/mastodon-tl.el: Don't require `ts`.
(mastodon-tl--time-units): New const.
(mastodon-tl--human-duration): New function.
(mastodon-tl--format-poll-expiry): Rewrite using it.
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r-- | lisp/mastodon.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el index a3b372d..1c5e0d5 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -7,7 +7,7 @@ ;; Marty Hiatt <martianhiatus@riseup.net> ;; Maintainer: Marty Hiatt <martianhiatus@riseup.net> ;; Version: 1.0.0 -;; Package-Requires: ((emacs "27.1") (request "0.3.0") (persist "0.4") (ts "0.3")) +;; Package-Requires: ((emacs "27.1") (request "0.3.0") (persist "0.4")) ;; Homepage: https://codeberg.org/martianh/mastodon.el ;; This file is not part of GNU Emacs. |