Skip to content

Commit 25880e4

Browse files
mpenetbrson
authored andcommitted
---
yaml --- r: 29809 b: refs/heads/incoming c: ea01572 h: refs/heads/master i: 29807: d45e389 v: v3
1 parent 0e96c36 commit 25880e4

File tree

2 files changed

+20
-9
lines changed

2 files changed

+20
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
9-
refs/heads/incoming: cb542cf433650e7ad2f67ab2f44a8607171244a3
9+
refs/heads/incoming: ea0157250f4cc38bb479fc1cb0a20a34eecbc624
1010
refs/heads/dist-snap: 2f32a1581f522e524009138b33b1c7049ced668d
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/src/etc/emacs/README.md

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@ it, and pressing `C-j`:
2929
Rust mode will automatically be associated with .rs and .rc files. To
3030
enable it explicitly, do `M-x rust-mode`.
3131

32-
### package.el installation via Marmalade or Melpa
32+
### package.el installation via Marmalade
3333

3434
It can be more convenient to use Emacs's package manager to handle
35-
installation for you if you use many elisp libraries.
35+
installation for you if you use many elisp libraries. If you have
36+
package.el but haven't added Marmalade, the community package source,
37+
yet, add this to ~/.emacs.d/init.el:
3638

3739
```lisp
3840
(require 'package)
@@ -41,12 +43,10 @@ installation for you if you use many elisp libraries.
4143
(package-initialize)
4244
```
4345

44-
```lisp
45-
(require 'package)
46-
(add-to-list 'package-archives
47-
'("melpa" . "http://melpa.milkbox.net/packages/") t)
48-
(package-initialize)
49-
```
46+
Then do this to load the package listing:
47+
48+
* <kbd>M-x eval-buffer</kbd>
49+
* <kbd>M-x package-refresh-contents</kbd>
5050

5151
If you use a version of Emacs prior to 24 that doesn't include
5252
package.el, you can get it from http://bit.ly/pkg-el23.
@@ -56,6 +56,17 @@ should upgrade in order to support installation from multiple sources.
5656
The ELPA archive is deprecated and no longer accepting new packages,
5757
so the version there (1.7.1) is very outdated.
5858

59+
From there you can install rust-mode or any other modes by choosing
60+
them from a list:
61+
62+
* <kbd>M-x package-list-packages</kbd>
63+
64+
Now, to install packages, move your cursor to them and press i. This
65+
will mark the packages for installation. When you're done with
66+
marking, press x, and ELPA will install the packages for you (under
67+
~/.emacs.d/elpa/).
68+
69+
* or using <kbd>M-x package-install rust-mode
5970

6071
#### Important
6172

0 commit comments

Comments
 (0)