From 3cb5a6a9be2811b63a254d1c00b7ba30460d7629 Mon Sep 17 00:00:00 2001 From: Johnson Denen Date: Mon, 24 Apr 2017 12:48:06 -0400 Subject: Bump to v0.5.5 --- lisp/mastodon-auth.el | 2 +- lisp/mastodon-client.el | 2 +- lisp/mastodon-http.el | 2 +- lisp/mastodon-tl.el | 22 +++++++++++----------- lisp/mastodon-toot.el | 2 +- lisp/mastodon.el | 4 ++-- 6 files changed, 17 insertions(+), 17 deletions(-) (limited to 'lisp') diff --git a/lisp/mastodon-auth.el b/lisp/mastodon-auth.el index 05aed48..5f94341 100644 --- a/lisp/mastodon-auth.el +++ b/lisp/mastodon-auth.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2017 Johnson Denen ;; Author: Johnson Denen -;; Version: 0.5.4 +;; Version: 0.5.5 ;; Homepage: https://github.com/jdenen/mastodon.el ;; This file is not part of GNU Emacs. diff --git a/lisp/mastodon-client.el b/lisp/mastodon-client.el index 1c791dc..47a3b01 100644 --- a/lisp/mastodon-client.el +++ b/lisp/mastodon-client.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2017 Johnson Denen ;; Author: Johnson Denen -;; Version: 0.5.4 +;; Version: 0.5.5 ;; Homepage: https://github.com/jdenen/mastodon.el ;; This file is not part of GNU Emacs. diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el index 9962831..45d33be 100644 --- a/lisp/mastodon-http.el +++ b/lisp/mastodon-http.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2017 Johnson Denen ;; Author: Johnson Denen -;; Version: 0.5.4 +;; Version: 0.5.5 ;; Package-Requires: ((emacs "24.4")) ;; Homepage: https://github.com/jdenen/mastodon.el diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index 521bb7f..1c6117b 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2017 Johnson Denen ;; Author: Johnson Denen -;; Version: 0.5.4 +;; Version: 0.5.5 ;; Homepage: https://github.com/jdenen/mastodon.el ;; This file is not part of GNU Emacs. @@ -98,11 +98,11 @@ Optionally start from POS." (defun mastodon-tl--byline-author (toot) "Propertize author of TOOT." (let* ((account (cdr (assoc 'account toot))) - ;; It may not be necissary to decode the handle + ;; It may not be necissary to decode the handle (handle (decode-coding-string - (cdr (assoc 'acct account))'utf-8)) - (name (decode-coding-string - (cdr (assoc 'display_name account)) 'utf-8))) + (cdr (assoc 'acct account))'utf-8)) + (name (decode-coding-string + (cdr (assoc 'display_name account)) 'utf-8))) (concat (propertize name 'face 'warning) " (@" @@ -178,9 +178,9 @@ Return value from boosted content if available." (defun mastodon-tl--updated-json (timeline id) "Return JSON for TIMELINE since ID." (let ((url (mastodon-http--api (concat "timelines/" - timeline - "?since_id=" - (number-to-string id))))) + timeline + "?since_id=" + (number-to-string id))))) (mastodon-http--get-json url))) (defun mastodon-tl--property (prop &optional backward) @@ -225,7 +225,7 @@ Move forward (down) the timeline unless BACKWARD is non-nil." "Append older toots to timeline." (interactive) (let* ((point-before (point)) - (tl (mastodon-tl--timeline-name)) + (tl (mastodon-tl--timeline-name)) (id (mastodon-tl--oldest-id)) (json (mastodon-tl--more-json tl id))) (when json @@ -233,8 +233,8 @@ Move forward (down) the timeline unless BACKWARD is non-nil." (let ((inhibit-read-only t)) (goto-char (point-max)) (mastodon-tl--timeline json) - (goto-char point-before) - (mastodon-tl--goto-next-toot)))))) + (goto-char point-before) + (mastodon-tl--goto-next-toot)))))) (defun mastodon-tl--update () "Update timeline with new toots." diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el index 270a7d0..6052a9c 100644 --- a/lisp/mastodon-toot.el +++ b/lisp/mastodon-toot.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2017 Johnson Denen ;; Author: Johnson Denen -;; Version: 0.5.4 +;; Version: 0.5.5 ;; Homepage: https://github.com/jdenen/mastodon.el ;; This file is not part of GNU Emacs. diff --git a/lisp/mastodon.el b/lisp/mastodon.el index bf4185f..772db51 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2017 Johnson Denen ;; Author: Johnson Denen -;; Version: 0.5.4 +;; Version: 0.5.5 ;; Package-Requires: ((emacs "24.4")) ;; Homepage: https://github.com/jdenen/mastodon.el @@ -38,7 +38,7 @@ :prefix "mastodon-" :group 'external) -(defconst mastodon-version "0.5.4" +(defconst mastodon-version "0.5.5" "Current `mastodon' package version.") (defcustom mastodon-instance-url "https://mastodon.social" -- cgit v1.2.3