diff options
author | Johnson Denen <johnson.denen@gmail.com> | 2017-05-15 09:15:54 -0400 |
---|---|---|
committer | Johnson Denen <johnson.denen@gmail.com> | 2017-05-15 09:38:29 -0400 |
commit | f4ff20df026dae1e5f6afbb92ef271e8de6bc6da (patch) | |
tree | 32ade16c528aa35d05d1f3db0c5dce8fe4d33a09 | |
parent | 501dac1b49f4af93ddbbed5f2803c678736e26a2 (diff) |
Close #76
* Delete version variable and function
* Use package-file
-rw-r--r-- | Cask | 2 | ||||
-rw-r--r-- | lisp/mastodon.el | 10 |
2 files changed, 2 insertions, 10 deletions
@@ -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 |