aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cask2
-rw-r--r--lisp/mastodon.el10
2 files changed, 2 insertions, 10 deletions
diff --git a/Cask b/Cask
index 263998e..599efa2 100644
--- a/Cask
+++ b/Cask
@@ -1,7 +1,7 @@
(source gnu)
(source melpa)
-(package "mastodon" "0.6.2" "Emacs client for Mastodon")
+(package-file "lisp/mastodon.el")
(files "lisp/*.el")
(development
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index d17eba4..b41405e 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -38,9 +38,6 @@
:prefix "mastodon-"
:group 'external)
-(defconst mastodon-version "0.6.2"
- "Current `mastodon' package version.")
-
(defcustom mastodon-instance-url "https://mastodon.social"
"Base URL for the Masto instance from which you toot."
:group 'mastodon
@@ -102,11 +99,6 @@ Use. e.g. \"%c\" for your locale's date and time format."
'((t :inherit success))
"Face used for content warning.")
-(defun mastodon-version ()
- "Message package version."
- (interactive)
- (message "Mastodon version %s" mastodon-version))
-
;;;###autoload
(defun mastodon ()
"Connect Mastodon client to `mastodon-instance-url' instance."
@@ -121,7 +113,7 @@ Use. e.g. \"%c\" for your locale's date and time format."
If USER is non-nil, insert after @ symbol to begin new toot.
If REPLY-TO-ID is non-nil, attach new toot to a conversation."
(interactive)
- (require 'mastodon-toot nil t)
+ (require 'mastodon-toot nil t)
(mastodon-toot--compose-buffer user reply-to-id))
;;;###autoload