branch: elpa/rust-mode
commit 840063859f08356865167ac3881c5a33bd494066
Author: Tom Tromey <[email protected]>
Commit: Tom Tromey <[email protected]>
update README.md and Package-Requires to require emacs 24
This updates README.md to remove Emacs 23-related text and to mention
that rust-mode requires Emacs 24.
It also adds a Package-Requires header to enforce this requirement.
---
README.md | 16 +---------------
rust-mode.el | 1 +
2 files changed, 2 insertions(+), 15 deletions(-)
diff --git a/README.md b/README.md
index 5696250..57635d3 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,7 @@
============================================================
`rust-mode` makes editing [Rust](http://rust-lang.org) code with Emacs
-enjoyable.
-
+enjoyable. `rust-mode` requires Emacs 24 or later.
### Manual Installation
@@ -38,14 +37,6 @@ Then do this to load the package listing:
* <kbd>M-x eval-buffer</kbd>
* <kbd>M-x package-refresh-contents</kbd>
-If you use a version of Emacs prior to 24 that doesn't include
-`package.el`, you can get it from
[here](http://git.savannah.gnu.org/gitweb/?p=emacs.git;a=blob_plain;hb=ba08b24186711eaeb3748f3d1f23e2c2d9ed0d09;f=lisp/emacs-lisp/package.el).
-
-If you have an older ELPA `package.el` installed from tromey.com, you
-should upgrade in order to support installation from multiple sources.
-The ELPA archive is deprecated and no longer accepting new packages,
-so the version there (1.7.1) is very outdated.
-
#### Install `rust-mode`
One you have `package.el`, you can install `rust-mode` or any other
@@ -73,11 +64,6 @@ The file `rust-mode-tests.el` contains tests that can be run
via
You can use `run_rust_emacs_tests.sh` to run them in batch mode, if
you set the environment variable EMACS to a program that runs emacs.
-To test it under emacs 23, which does not ship with ERT, download ert.el from
-https://raw.githubusercontent.com/ohler/ert/c619b56c5bc6a866e33787489545b87d79973205/lisp/emacs-lisp/ert.el
-and put it in a place where emacs can find it. (ERT has shipped with emacs
-since emacs 24.)
-
## License
`rust-mode` is distributed under the terms of both the MIT license and the
diff --git a/rust-mode.el b/rust-mode.el
index 42a1cfb..62d3007 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -4,6 +4,7 @@
;; Author: Mozilla
;; Url: https://github.com/rust-lang/rust-mode
;; Keywords: languages
+;; Package-Requires: ((emacs "24.0"))
;; This file is distributed under the terms of both the MIT license and the
;; Apache License (version 2.0).