diff options
-rw-r--r-- | lisp/mastodon-tl.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index 62550cd..fe8f7c8 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -33,6 +33,7 @@ (require 'shr) (require 'thingatpt) ; for word-at-point (require 'time-date) +(require 'cl-lib) ; for cl-mapcar (autoload 'mastodon-auth--get-account-name "mastodon-auth") (autoload 'mastodon-http--api "mastodon-http") @@ -60,8 +61,6 @@ (defvar mastodon-toot-timestamp-format) (defvar shr-use-fonts) ;; declare it since Emacs24 didn't have this -(declare-function mapcar* "cl-lib") - (defgroup mastodon-tl nil "Timelines in Mastodon." :prefix "mastodon-tl-" @@ -786,7 +785,7 @@ takes a single function. By default it is (options-numbers (mapcar (lambda(x) (number-to-string x)) options-number-seq)) - (options-alist (mapcar* 'cons options-numbers options-titles)) + (options-alist (cl-mapcar 'cons options-numbers options-titles)) ;; we display both option number and the option title ;; but also store both as cons cell as cdr, as we need it below (candidates (mapcar (lambda (cell) |