Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/etc/emacs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ To install manually, check out this repository and add this to your

```lisp
(add-to-list 'load-path "/path/to/rust-mode/")
(require 'rust-mode)
(autoload 'rust-mode "rust-mode" nil t)
(add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode))
```

`rust-mode` will automatically be associated with `.rs` files. To enable it
explicitly, do <kbd>M-x rust-mode</kbd>.
This associates `rust-mode` with `.rs` files. To enable it explicitly, do
<kbd>M-x rust-mode</kbd>.

### `package.el` installation via Marmalade or MELPA

Expand Down