From 97856b5c85511e15adf019318b660bdf015f7408 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Thu, 29 Sep 2022 21:28:55 +0300 Subject: [PATCH] DOC: add installation instructions from NonGNU ELPA --- README.org | 6 +++++- sweeprolog.el | 4 ---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.org b/README.org index d0d4f4c..09dc1b2 100644 --- a/README.org +++ b/README.org @@ -73,7 +73,11 @@ The dynamic Emacs module =sweeprolog-module= and the Prolog helper library instructions on how to build and install SWI-Prolog, see [[https://www.swi-prolog.org/build/]]. -To start using =sweep= in Emacs: +The =sweeprolog= Elisp package is available on NonGNU ELPA, to install +=sweeprolog= simply type =M-x package-install RET sweeprolog RET=. + +An alternative to installing from ELPA is to get the Elisp library +from the =sweep= Git repository: 1. Clone the =sweep= repository: #+begin_src sh diff --git a/sweeprolog.el b/sweeprolog.el index ade075a..2e9d322 100644 --- a/sweeprolog.el +++ b/sweeprolog.el @@ -2165,10 +2165,6 @@ Interactively, POINT is set to the current point." (when (timerp sweeprolog--timer) (cancel-timer sweeprolog--timer)))))) -;;;; Testing: - -;; (add-to-list 'load-path (file-name-directory (buffer-file-name))) -;; (require 'sweeprolog) (provide 'sweeprolog) -- 2.39.2