From f4ff20df026dae1e5f6afbb92ef271e8de6bc6da Mon Sep 17 00:00:00 2001 From: Johnson Denen Date: Mon, 15 May 2017 09:15:54 -0400 Subject: Close #76 * Delete version variable and function * Use package-file --- Cask | 2 +- lisp/mastodon.el | 10 +--------- 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 -- cgit v1.2.3