From d4c105cc39315de3c9f3f29b97de0c0dec718770 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Thu, 31 Aug 2023 12:10:48 +0200 Subject: add ELPA to readme/info --- README.org | 38 +++++++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 13 deletions(-) (limited to 'README.org') diff --git a/README.org b/README.org index dd00f74..290caea 100644 --- a/README.org +++ b/README.org @@ -13,23 +13,15 @@ implement the Mastodon API. For info see [[https://joinmastodon.org/][joinmastod ** Installation -Clone this repository and add the lisp directory to your load path. -Then, require it and go. +You can install =mastodon.el= from ELPA, MELPA, or directly from this repo. -#+BEGIN_SRC emacs-lisp - (add-to-list 'load-path "/path/to/mastodon.el/lisp") - (require 'mastodon) -#+END_SRC +*** ELPA -Or, with =use-package=: +You should be able to directly install with: -#+BEGIN_SRC emacs-lisp - (use-package mastodon - :ensure t) -#+END_SRC +=M-x package-refresh-contents RET= -The minimum Emacs version is now 27.1. But if you are running an older version -it shouldn't be very hard to get it working. +=M-x package-install RET mastodon RET= *** MELPA @@ -47,6 +39,26 @@ Update and install: =M-x package-install RET mastodon RET= +*** Repo + +Clone this repository and add the lisp directory to your load path. +Then, require it and go. + +#+BEGIN_SRC emacs-lisp + (add-to-list 'load-path "/path/to/mastodon.el/lisp") + (require 'mastodon) +#+END_SRC + +Or, with =use-package=: + +#+BEGIN_SRC emacs-lisp + (use-package mastodon + :ensure t) +#+END_SRC + +The minimum Emacs version is now 27.1. But if you are running an older version +it shouldn't be very hard to get it working. + *** Emoji =mastodon-mode= will enable [[https://github.com/iqbalansari/emacs-emojify][Emojify]] if it is loaded in your Emacs environment, so -- cgit v1.2.3