Skip to content

Commit 8400638

Browse files
committed
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.
1 parent bc77e16 commit 8400638

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

README.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
============================================================
33

44
`rust-mode` makes editing [Rust](http://rust-lang.org) code with Emacs
5-
enjoyable.
6-
5+
enjoyable. `rust-mode` requires Emacs 24 or later.
76

87
### Manual Installation
98

@@ -38,14 +37,6 @@ Then do this to load the package listing:
3837
* <kbd>M-x eval-buffer</kbd>
3938
* <kbd>M-x package-refresh-contents</kbd>
4039

41-
If you use a version of Emacs prior to 24 that doesn't include
42-
`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).
43-
44-
If you have an older ELPA `package.el` installed from tromey.com, you
45-
should upgrade in order to support installation from multiple sources.
46-
The ELPA archive is deprecated and no longer accepting new packages,
47-
so the version there (1.7.1) is very outdated.
48-
4940
#### Install `rust-mode`
5041

5142
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
7364
You can use `run_rust_emacs_tests.sh` to run them in batch mode, if
7465
you set the environment variable EMACS to a program that runs emacs.
7566

76-
To test it under emacs 23, which does not ship with ERT, download ert.el from
77-
https://raw.githubusercontent.com/ohler/ert/c619b56c5bc6a866e33787489545b87d79973205/lisp/emacs-lisp/ert.el
78-
and put it in a place where emacs can find it. (ERT has shipped with emacs
79-
since emacs 24.)
80-
8167
## License
8268

8369
`rust-mode` is distributed under the terms of both the MIT license and the

rust-mode.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
;; Author: Mozilla
55
;; Url: https://github.com/rust-lang/rust-mode
66
;; Keywords: languages
7+
;; Package-Requires: ((emacs "24.0"))
78

89
;; This file is distributed under the terms of both the MIT license and the
910
;; Apache License (version 2.0).

0 commit comments

Comments
 (0)